ILIAS
Release_4_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 13 of file class.ilBookmarkFolder.php.
ilBookmarkFolder::_getNumberOfObjects | ( | ) |
Get number of folders and bookmarks for current user.
Definition at line 235 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkBlockGUI\fillDataSection().
ilBookmarkFolder::_getParentId | ( | $a_id | ) |
Definition at line 301 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 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 $_SESSION, $ilDB, $q, getId(), getParent(), getTitle(), and setId().
ilBookmarkFolder::createNewBookmarkTree | ( | ) |
create personal bookmark tree
Definition at line 96 of file class.ilBookmarkFolder.php.
References $ilDB.
ilBookmarkFolder::delete | ( | ) |
ilBookmarkFolder::getId | ( | ) |
ilBookmarkFolder::getObject | ( | $a_id | ) |
static
Definition at line 261 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkImportExport\_exportBookmark().
ilBookmarkFolder::getObjects | ( | $a_id | ) |
static
Definition at line 196 of file class.ilBookmarkFolder.php.
References $_SESSION, $key, and $tree.
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 | ( | ) |
ilBookmarkFolder::getTitle | ( | ) |
Definition at line 158 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 38 of file class.ilBookmarkFolder.php.
References $_SESSION, $ilias, and read().
ilBookmarkFolder::isRootFolder | ( | $a_id | ) |
Definition at line 276 of file class.ilBookmarkFolder.php.
References $_SESSION, and $tree.
Referenced by ilBookmarkBlockGUI\getListRowData().
ilBookmarkFolder::read | ( | ) |
read bookmark folder data from db
Definition at line 62 of file class.ilBookmarkFolder.php.
References $ilDB, $ilias, $q, getId(), setParent(), and setTitle().
Referenced by ilBookmarkFolder().
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 | ( | ) |
Update bookmark folder item.
Definition at line 134 of file class.ilBookmarkFolder.php.
ilBookmarkFolder::$id |
Definition at line 29 of file class.ilBookmarkFolder.php.
Referenced by getId().
ilBookmarkFolder::$ilias |
Definition at line 27 of file class.ilBookmarkFolder.php.
Referenced by ilBookmarkFolder(), and read().
ilBookmarkFolder::$parent |
Definition at line 31 of file class.ilBookmarkFolder.php.
Referenced by getParent().
ilBookmarkFolder::$title |
Definition at line 30 of file class.ilBookmarkFolder.php.
Referenced by getTitle().
ilBookmarkFolder::$tree |
Definition at line 20 of file class.ilBookmarkFolder.php.
Referenced by _getNumberOfObjects(), _getParentId(), getObject(), getObjects(), getRootFolder(), and isRootFolder().