Mnemo_DriverMnemo_Driver:: defines an API for implementing storage backends for Mnemo.
$Horde: mnemo/lib/Driver.php,v 1.25.2.14 2009/01/06 15:24:58 jan 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.php (line 16)
| Class | Description |
|---|---|
Mnemo_Driver_kolab
|
Horde Mnemo driver for the Kolab IMAP server. |
Mnemo_Driver_sql
|
Mnemo storage implementation for PHP's PEAR database abstraction layer. |
string
$_errormsg
(line 45)
An error message to throw when something is wrong.
array
$_memos
= array() (line 24)
Array holding the current memo list. Each array entry is a hash describing a memo. The array is indexed numerically by memo ID.
string
$_notepad
= '' (line 31)
String containing the current notepad name.
Horde_Crypt_pgp
$_pgp
(line 38)
Crypting processor.
Constructor Mnemo_Driver (line 50)
Constructor - All real work is done by initialize().
decrypt (line 152)
Decrypts a note.
encrypt (line 135)
Encrypts a note.
encryptionSupported (line 184)
Returns whether note encryption is supported.
Checks if PGP support could be loaded, if it supports symmetric encryption, and if we have a secure connection.
factory (line 209)
Attempts to return a concrete Mnemo_Driver instance based on $driver.
fromiCalendar (line 337)
Create a memo (hash array) from a Horde_iCalendar_vnote object.
generateUID (line 77)
Generate a universal / unique identifier for a task. This is NOT something that we expect to be able to parse into a tasklist and a taskId.
getMemoDescription (line 89)
Update the description (short summary) of a memo.
listMemos (line 65)
Lists memos based on the given criteria. All memos will be returned by default.
loadPGP (line 115)
Loads the PGP encryption driver.
requireSecureConnection (line 167)
Returns an error message if we are not using a secure connection.
retrieve (line 363)
Retrieves notes from the database.
singleton (line 261)
Attempts to return a reference to a concrete Mnemo_Driver instance based on $driver.
It will only create a new instance if no Mnemo_Driver instance with the same parameters currently exists.
This should be used if multiple storage sources are required.
This method must be invoked as: $var = &Mnemo_Driver::singleton()
toiCalendar (line 289)
Export this memo in iCalendar format.
Documentation generated on Sun, 30 Jan 2011 05:33:55 +0000 by phpDocumentor 1.4.3