Method | Description | |
---|---|---|
create ( string $title, string $content, integer $uid = 'me' ) : integer | Creates a note with the specified title and content. | |
delete ( integer $note_id ) : boolean | Deletes the specified note. | |
get ( integer $uid = 'me', array $note_ids = null ) : array | Retrieves all notes by a user. If note_ids are specified, retrieves only those specific notes by that user. |
public get ( integer $uid = 'me', array $note_ids = null ) : array | ||
$uid | integer | User whose notes you wish to retrieve |
$note_ids | array | (Optional) List of specific note IDs by this user to retrieve |
return | array | A list of all of the given user's notes, or an empty list if the viewer lacks permissions or if there are no visible notes. |