Class Mnemo
Mnemo Base Class.
public static
array
|
#
listMemos( constant $sortby =
Retrieves the current user's note list from storage. This function will also sort the resulting list, if requested. |
public static
integer
|
|
public static
array
|
|
public static
string
|
|
public static
array
|
#
listNotepads( boolean $owneronly = false, integer $permission = Horde_Perms::SHOW )
Lists all notepads a user has access to. |
public static
mixed
|
#
getDefaultNotepad( mixed $permission = Horde_Perms::SHOW )
Returns the default notepad for the current user at the specified permissions level. |
public static
string
|
|
public static
mixed
|
|
public static
string
|
#
getPassphrase( string $id )
Returns a note's passphrase for symmetric encryption from the session cache. |
public static
boolean
|
#
storePassphrase( string $id, string $passphrase )
Stores a note's passphrase for symmetric encryption in the session cache. |
public static
|
|
public static
|
integer |
SORT_DESC
Sort by memo description. |
#
0
|
integer |
SORT_CATEGORY
Sort by memo category. |
#
1
|
integer |
SORT_NOTEPAD
Sort by notepad. |
#
2
|
integer |
SORT_MOD_DATE
Sort by moddate |
#
3
|
integer |
SORT_ASCEND
Sort in ascending order. |
#
0
|
integer |
SORT_DESCEND
Sort in descending order. |
#
1
|
integer |
ERR_NO_PASSPHRASE
No passphrase provided. |
#
100
|
integer |
ERR_DECRYPT
Decrypting failed |
#
101
|