ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
bookmark folder (note: this class handles personal bookmarks folders only) More...
Public Member Functions | |
__construct ($a_bmf_id=0, $a_tree_id=0) | |
Constructor public. More... | |
read () | |
read bookmark folder data from db More... | |
delete () | |
delete object data More... | |
createNewBookmarkTree () | |
create personal bookmark tree More... | |
create () | |
creates new bookmark folder in db More... | |
update () | |
Update bookmark folder item. More... | |
getId () | |
setId ($a_id) | |
getTitle () | |
setTitle ($a_title) | |
getParent () | |
setParent ($a_parent_id) | |
getRootFolder () | |
Static Public Member Functions | |
static | _lookupTitle ($a_bmf_id) |
lookup bookmark folder title More... | |
static | getObjects ($a_id) |
static More... | |
static | _getNumberOfObjects () |
Get number of folders and bookmarks for current user. More... | |
static | getObject ($a_id) |
static More... | |
static | isRootFolder ($a_id) |
static | _getParentId ($a_id) |
Data Fields | |
$tree | |
$id | |
$title | |
$parent | |
Protected Attributes | |
$db | |
$error | |
bookmark folder (note: this class handles personal bookmarks folders only)
Definition at line 14 of file class.ilBookmarkFolder.php.
ilBookmarkFolder::__construct | ( | $a_bmf_id = 0 , |
|
$a_tree_id = 0 |
|||
) |
Constructor public.
integer | user_id (optional) |
Definition at line 41 of file class.ilBookmarkFolder.php.
References $DIC, $GLOBALS, and read().
|
static |
Get number of folders and bookmarks for current user.
Definition at line 233 of file class.ilBookmarkFolder.php.
References $GLOBALS, $tree, and array.
Referenced by ilBookmarkBlockGUI\fillDataSection().
|
static |
Definition at line 292 of file class.ilBookmarkFolder.php.
References $GLOBALS, and $tree.
Referenced by ilBookmarkBlockGUI\getListRowData().
|
static |
lookup bookmark folder title
Definition at line 181 of file class.ilBookmarkFolder.php.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::create | ( | ) |
creates new bookmark folder in db
note: parent and title must be set
Definition at line 113 of file class.ilBookmarkFolder.php.
References $db, $GLOBALS, $ilDB, getId(), getParent(), and setId().
ilBookmarkFolder::createNewBookmarkTree | ( | ) |
ilBookmarkFolder::delete | ( | ) |
delete object data
Definition at line 85 of file class.ilBookmarkFolder.php.
References $db, $ilDB, and getId().
ilBookmarkFolder::getId | ( | ) |
|
static |
static
Definition at line 256 of file class.ilBookmarkFolder.php.
References $GLOBALS, and $tree.
Referenced by ilBookmarkImportExport\_exportBookmark().
|
static |
static
Definition at line 198 of file class.ilBookmarkFolder.php.
References $GLOBALS, $key, $tree, and array.
Referenced by ilBookmarkImportExport\__parseExport(), ilBookmarkBlockGUI\getListRowData(), and ilBookmarkAdministrationGUI\view().
ilBookmarkFolder::getParent | ( | ) |
Definition at line 168 of file class.ilBookmarkFolder.php.
References $parent.
Referenced by create().
ilBookmarkFolder::getRootFolder | ( | ) |
Definition at line 283 of file class.ilBookmarkFolder.php.
References $GLOBALS, and $tree.
ilBookmarkFolder::getTitle | ( | ) |
|
static |
Definition at line 270 of file class.ilBookmarkFolder.php.
References $GLOBALS, and $tree.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::read | ( | ) |
read bookmark folder data from db
Definition at line 64 of file class.ilBookmarkFolder.php.
References $db, $error, $ilDB, $ilErr, $message, getId(), setParent(), and setTitle().
Referenced by __construct().
ilBookmarkFolder::setId | ( | $a_id | ) |
Definition at line 153 of file class.ilBookmarkFolder.php.
Referenced by create().
ilBookmarkFolder::setParent | ( | $a_parent_id | ) |
Definition at line 173 of file class.ilBookmarkFolder.php.
Referenced by read().
ilBookmarkFolder::setTitle | ( | $a_title | ) |
Definition at line 163 of file class.ilBookmarkFolder.php.
Referenced by read().
ilBookmarkFolder::update | ( | ) |
|
protected |
Definition at line 19 of file class.ilBookmarkFolder.php.
Referenced by create(), createNewBookmarkTree(), delete(), read(), and update().
|
protected |
Definition at line 24 of file class.ilBookmarkFolder.php.
Referenced by read().
ilBookmarkFolder::$id |
Definition at line 32 of file class.ilBookmarkFolder.php.
Referenced by getId().
ilBookmarkFolder::$parent |
Definition at line 34 of file class.ilBookmarkFolder.php.
Referenced by getParent().
ilBookmarkFolder::$title |
Definition at line 33 of file class.ilBookmarkFolder.php.
Referenced by getTitle().
ilBookmarkFolder::$tree |
Definition at line 31 of file class.ilBookmarkFolder.php.
Referenced by _getNumberOfObjects(), _getParentId(), getObject(), getObjects(), getRootFolder(), and isRootFolder().