[ Index ] |
|
Code source de CMS made simple 1.0.5 |
[Code source] [Imprimer] [Statistiques]
Class for doing bookmark related functions. Maybe of the Bookmark object functions are just wrappers around these.
Poids: | 165 lignes (4 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
BookmarkOperations:: (5 méthodes):
LoadBookmarks()
LoadBookmarkByID()
InsertBookmark()
UpdateBookmark()
DeleteBookmarkByID()
Classe: BookmarkOperations - X-Ref
LoadBookmarks($user_id) X-Ref |
Gets a list of all bookmarks for a given user returns: array An array of Bookmark objects |
LoadBookmarkByID($id) X-Ref |
Loads a bookmark by bookmark_id. returns: mixed If successful, the filled Bookmark object. If it fails, it returns false. param: mixed $id bookmark_id to load |
InsertBookmark($bookmark) X-Ref |
Saves a new bookmark to the database. returns: mixed The new bookmark_id. If it fails, it returns -1. param: mixed $bookmark Bookmark object to save |
UpdateBookmark($bookmark) X-Ref |
Updates an existing bookmark in the database. returns: mixed If successful, true. If it fails, false. param: mixed $bookmark Bookmark object to save |
DeleteBookmarkByID($id) X-Ref |
Deletes an existing bookmark from the database. returns: mixed If successful, true. If it fails, false. param: mixed $id Id of the bookmark to delete |
Généré le : Tue Apr 3 18:50:37 2007 | par Balluche grâce à PHPXref 0.7 |