Mnemo_Driver_sqlMnemo storage implementation for PHP's PEAR database abstraction layer.
Required parameters:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.).
'charset' The database's internal charset.Optional values:
'table' The name of the memos table in 'database'. Defaults
to 'mnemo_memos'Required by some database implementations:
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'database' The name of the database.
'username' The username with which to connect to the database.
'password' The password associated with 'username'.
'options' Additional options to pass to the database.
'tty' The TTY on which to connect to the database.
'port' The port on which to connect to the database.The table structure is defined in scripts/drivers/mnemo_memos.sql.
$Horde: mnemo/lib/Driver/sql.php,v 1.28.2.20 2009/02/17 18:42:26 chuck Exp $
Copyright 2001-2009 The Horde Project (http://www.horde.org/)
See the enclosed file LICENSE for license information (ASL). If you did not receive this file, see http://www.horde.org/licenses/asl.php.
Located in /lib/Driver/sql.php (line 37)
Mnemo_Driver | --Mnemo_Driver_sql
DB
$_db
(line 51)
The database connection object.
array
$_params
= array() (line 44)
Hash containing connection parameters.
DB
$_write_db
(line 59)
Handle for the current database connection, used for writing. Defaults to the same handle as $_db if a separate write database is not required.
Inherited from Mnemo_Driver
Mnemo_Driver::$_errormsg
Mnemo_Driver::$_memos
Mnemo_Driver::$_notepad
Mnemo_Driver::$_pgp
Constructor Mnemo_Driver_sql (line 67)
Construct a new SQL storage object.
add (line 217)
Add a note to the backend storage.
delete (line 354)
deleteAll (line 384)
get (line 151)
Retrieve one note from the database.
getByUID (line 181)
Retrieve one note from the database by UID.
initialize (line 78)
Attempts to open a connection to the SQL server.
modify (line 272)
Modify an existing note.
move (line 323)
Move a note to a new notepad.
retrieve (line 406)
Retrieves all of the notes from $this->_notepad from the database.
_buildNote (line 435)
Inherited From Mnemo_Driver
Mnemo_Driver::Mnemo_Driver()
Mnemo_Driver::decrypt()
Mnemo_Driver::encrypt()
Mnemo_Driver::encryptionSupported()
Mnemo_Driver::factory()
Mnemo_Driver::fromiCalendar()
Mnemo_Driver::generateUID()
Mnemo_Driver::getMemoDescription()
Mnemo_Driver::listMemos()
Mnemo_Driver::loadPGP()
Mnemo_Driver::requireSecureConnection()
Mnemo_Driver::retrieve()
Mnemo_Driver::singleton()
Mnemo_Driver::toiCalendar()
Documentation generated on Sun, 30 Jan 2011 05:33:55 +0000 by phpDocumentor 1.4.3