ILIAS
Release_5_0_x_branch Revision 61816
|
bookmark folder (note: this class handles personal bookmarks folders only) More...
Public Member Functions | |
ilBookmarkFolder ($a_bmf_id=0, $a_tree_id=0) | |
Constructor public. | |
read () | |
read bookmark folder data from db | |
delete () | |
delete object data | |
createNewBookmarkTree () | |
create personal bookmark tree | |
create () | |
creates new bookmark folder in db | |
update () | |
Update bookmark folder item. | |
getId () | |
setId ($a_id) | |
getTitle () | |
setTitle ($a_title) | |
getParent () | |
setParent ($a_parent_id) | |
_lookupTitle ($a_bmf_id) | |
lookup bookmark folder title | |
getObjects ($a_id) | |
static | |
_getNumberOfObjects () | |
Get number of folders and bookmarks for current user. | |
getObject ($a_id) | |
static | |
isRootFolder ($a_id) | |
getRootFolder () | |
_getParentId ($a_id) |
Data Fields | |
$tree | |
$ilias | |
$id | |
$title | |
$parent |
bookmark folder (note: this class handles personal bookmarks folders only)
Definition at line 14 of file class.ilBookmarkFolder.php.
ilBookmarkFolder::_getNumberOfObjects | ( | ) |
Get number of folders and bookmarks for current user.
Definition at line 236 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkBlockGUI\fillDataSection().
ilBookmarkFolder::_getParentId | ( | $a_id | ) |
Definition at line 302 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::_lookupTitle | ( | $a_bmf_id | ) |
lookup bookmark folder title
Definition at line 182 of file class.ilBookmarkFolder.php.
References $ilDB.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::create | ( | ) |
creates new bookmark folder in db
note: parent and title must be set
Definition at line 114 of file class.ilBookmarkFolder.php.
References $_SESSION, $ilDB, getId(), getParent(), getTitle(), and setId().
ilBookmarkFolder::createNewBookmarkTree | ( | ) |
create personal bookmark tree
Definition at line 97 of file class.ilBookmarkFolder.php.
References $ilDB.
ilBookmarkFolder::delete | ( | ) |
ilBookmarkFolder::getId | ( | ) |
ilBookmarkFolder::getObject | ( | $a_id | ) |
static
Definition at line 262 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkImportExport\_exportBookmark().
ilBookmarkFolder::getObjects | ( | $a_id | ) |
static
Definition at line 197 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkImportExport\__parseExport(), ilBookmarkBlockGUI\getListRowData(), and ilBookmarkAdministrationGUI\view().
ilBookmarkFolder::getParent | ( | ) |
Definition at line 169 of file class.ilBookmarkFolder.php.
References $parent.
Referenced by create().
ilBookmarkFolder::getRootFolder | ( | ) |
ilBookmarkFolder::getTitle | ( | ) |
Definition at line 159 of file class.ilBookmarkFolder.php.
References $title.
Referenced by create().
ilBookmarkFolder::ilBookmarkFolder | ( | $a_bmf_id = 0 , |
|
$a_tree_id = 0 |
|||
) |
Constructor public.
integer | user_id (optional) |
Definition at line 39 of file class.ilBookmarkFolder.php.
References $_SESSION, $ilias, and read().
ilBookmarkFolder::isRootFolder | ( | $a_id | ) |
Definition at line 277 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::read | ( | ) |
read bookmark folder data from db
Definition at line 63 of file class.ilBookmarkFolder.php.
References $ilDB, $ilias, getId(), setParent(), and setTitle().
Referenced by ilBookmarkFolder().
ilBookmarkFolder::setId | ( | $a_id | ) |
Definition at line 154 of file class.ilBookmarkFolder.php.
Referenced by create().
ilBookmarkFolder::setParent | ( | $a_parent_id | ) |
Definition at line 174 of file class.ilBookmarkFolder.php.
Referenced by read().
ilBookmarkFolder::setTitle | ( | $a_title | ) |
Definition at line 164 of file class.ilBookmarkFolder.php.
Referenced by read().
ilBookmarkFolder::update | ( | ) |
Update bookmark folder item.
Definition at line 135 of file class.ilBookmarkFolder.php.
References $ilDB.
ilBookmarkFolder::$id |
Definition at line 30 of file class.ilBookmarkFolder.php.
Referenced by getId().
ilBookmarkFolder::$ilias |
Definition at line 28 of file class.ilBookmarkFolder.php.
Referenced by ilBookmarkFolder(), and read().
ilBookmarkFolder::$parent |
Definition at line 32 of file class.ilBookmarkFolder.php.
Referenced by getParent().
ilBookmarkFolder::$title |
Definition at line 31 of file class.ilBookmarkFolder.php.
Referenced by getTitle().
ilBookmarkFolder::$tree |
Definition at line 21 of file class.ilBookmarkFolder.php.
Referenced by _getNumberOfObjects(), _getParentId(), getObject(), getObjects(), getRootFolder(), and isRootFolder().