Mnemo 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
The database connection object.
Hash containing connection parameters.
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
Construct a new SQL storage object.
Add a note to the backend storage.
Retrieve one note from the database.
Retrieve one note from the database by UID.
Attempts to open a connection to the SQL server.
Modify an existing note.
Move a note to a new notepad.
Retrieves all of the notes from $this->_notepad from the database.
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