Свойство | Type | Description | |
---|---|---|---|
$_memos | array | Array holding the current memo list. Each array entry is a hash describing a memo. The array is indexed numerically by memo ID. | |
$_notepad | string | String containing the current notepad name. | |
$_pgp | Horde_Crypt_pgp | Crypting processor. |
Méthode | Description | |
---|---|---|
add ( string $desc, string $body, string $tags = '', string $passphrase = null ) : string | Adds a note to the backend storage. | |
delete ( string $noteId ) | Deletes a note permanently. | |
deleteAll ( ) | Deletes all notes from the current notepad. | |
encryptionSupported ( ) : boolean | Returns whether note encryption is supported. | |
fromiCalendar ( Horde_Icalendar_Vnote $vNote ) : array | Create a memo (hash array) from a Horde_Icalendar_Vnote object. | |
get ( string $noteId, string $passphrase = null ) : array | Retrieves one note from the backend. | |
getByUID ( string $uid, string $passphrase = null ) : array | Retrieves one note from the backend by UID. | |
getMemoDescription ( $body ) | Update the description (short summary) of a memo. | |
listMemos ( ) : array | Lists memos based on the given criteria. All memos will be returned by default. | |
modify ( string $noteId, string $desc, string $body, string $tags = '', string $passphrase = null ) | Modifies an existing note. | |
move ( string $noteId, string $newNotepad ) | Moves a note to a new notepad. | |
retrieve ( ) | Retrieves all of the notes of the current notepad from the backend. | |
synchronize ( mixed $token = false ) | Perform any synchronization with backend data handlers that may be necessary for the driver. | |
toASNote ( array $memo, array $options = [] ) : Horde_ActiveSync_Message_Note | Create an AS memo from this task | |
toiCalendar ( $memo, $calendar ) : Horde_Icalendar_Vnote | Export this memo in iCalendar format. |
Méthode | Description | |
---|---|---|
_add ( string $noteId, string $desc, string $body, string $tags ) : string | Adds a note to the backend storage. | |
_decrypt ( string $note, string $passphrase ) : string | Decrypts a note. | |
_delete ( $noteId ) : string | Deletes a note permanently. | |
_deleteAll ( ) : array | Deletes all notes from the current notepad. | |
_encrypt ( string $note, string $passphrase ) : string | Encrypts a note. | |
_generateId ( ) : string | Generates a local note ID. | |
_loadPGP ( ) | Loads the PGP encryption driver. | |
_modify ( string $noteId, string $desc, string $body, string $tags ) : string | Modifies an existing note. | |
_move ( string $noteId, string $newNotepad ) : string | Moves a note to a new notepad. |
abstract protected _deleteAll ( ) : array | ||
Résultat | array | An array of uids that have been removed. |
abstract protected _generateId ( ) : string | ||
Résultat | string | A new note ID. |
public add ( string $desc, string $body, string $tags = '', string $passphrase = null ) : string | ||
$desc | string | The first line of the note. |
$body | string | The whole note body. |
$tags | string | The tags of the note. |
$passphrase | string | The passphrase to encrypt the note with. |
Résultat | string | The ID of the new note. |
public encryptionSupported ( ) : boolean | ||
Résultat | boolean | Whether encryption is suppoted. |
public fromiCalendar ( Horde_Icalendar_Vnote $vNote ) : array | ||
$vNote | Horde_Icalendar_Vnote | |
Résultat | array | Memo (hash array) created from the vNote. |
public getMemoDescription ( $body ) |
public modify ( string $noteId, string $desc, string $body, string $tags = '', string $passphrase = null ) | ||
$noteId | string | The note to modify. |
$desc | string | The first line of the note. |
$body | string | The whole note body. |
$tags | string | The tags of the note. |
$passphrase | string | The passphrase to encrypt the note with. |
abstract public retrieve ( ) |
public synchronize ( mixed $token = false ) | ||
$token | mixed | A value indicating the last synchronization point, if available. |
public toiCalendar ( $memo, $calendar ) : Horde_Icalendar_Vnote | ||
Résultat | Horde_Icalendar_Vnote | object for this event. |
protected array $_memos | ||
Résultat | array |
protected string $_notepad | ||
Résultat | string |