Class for doing bookmark related functions. Maybe of the Bookmark object functions are just wrappers around these.
package |
CMS |
---|---|
license |
GPL |
LoadBookmarks(integer $user_id) : array
integer
$user_idThe desired user id.
array
An array of Bookmark objects
LoadBookmarkByID(integer $id) : \Bookmark
InsertBookmark(\Bookmark $bookmark) : integer
\Bookmark
$bookmarkBookmark object to save
integer
The new bookmark_id. If it fails, it returns -1.
UpdateBookmark(\Bookmark $bookmark) : boolean
DeleteBookmarkByID(integer $id) : boolean
integer
$idId of the bookmark to delete
boolean