_mnemo_delete (line
427)
Delete a memo identified by UID.
boolean
_mnemo_delete
(string $uid)
-
string
$uid: | array $uid Identify the note to delete, either a single UID or an array.
_mnemo_export (line
374)
Export a memo, identified by UID, in the requested contentType.
string
_mnemo_export
(string $uid, string $contentType)
-
string
$uid: Identify the memo to export.
-
string
$contentType: What format should the data be in? A string with one of:
'text/plain'
'text/x-vnote'
_mnemo_getActionTimestamp (line
257)
Returns the timestamp of an operation for a given uid an action.
integer
_mnemo_getActionTimestamp
(string $uid, string $action, [string $notepad = null])
-
string
$uid: The uid to look for.
-
string
$action: The action to check for - add, modify, or delete.
-
string
$notepad: The notepad to search in.
_mnemo_import (line
286)
Import a memo represented in the specified contentType.
string
_mnemo_import
(string $content, string $contentType, [string $notepad = null])
-
string
$content: The content of the memo.
-
string
$contentType: What format is the data in? Currently supports: text/plain text/x-vnote
-
string
$notepad: (optional) The notepad to save the memo on.
_mnemo_list (line
179)
Returns an array of UIDs for all notes that the current user is authorized to see.
array
_mnemo_list
([string $notepad = null])
-
string
$notepad: The notepad to list notes from.
_mnemo_listBy (line
224)
Returns an array of UIDs for notes that have had $action happen since $timestamp.
array
_mnemo_listBy
(string $action, integer $timestamp, [string $notepad = null])
-
string
$action: The action to check for - add, modify, or delete.
-
integer
$timestamp: The time to start the search.
-
string
$notepad: The notepad to search in.
_mnemo_listNotepads (line
164)
array
_mnemo_listNotepads
(boolean $owneronly, integer $permission)
-
boolean
$owneronly: Only return notepads that this user owns? Defaults to false.
-
integer
$permission: The permission to filter notepads by.
_mnemo_perms (line
78)
Returns a list of available permissions.
array
_mnemo_perms
()
_mnemo_removeUserData (line
95)
Removes user data.
mixed
_mnemo_removeUserData
(string $user)
-
string
$user: Name of user to remove data for.
_mnemo_replace (line
471)
Replace the memo identified by UID with the content represented in the specified contentType.
boolean
_mnemo_replace
(string $uid, string $content, string $contentType)
-
string
$uid: Idenfity the memo to replace.
-
string
$content: The content of the memo.
-
string
$contentType: What format is the data in? Currently supports: text/plain text/x-vnote