4 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
19 public function __construct($a_parent_obj, $a_parent_cmd, $a_user_id = 0)
25 $a_user_id = $ilUser->getId();
27 include_once(
"./Services/Bookmarks/classes/class.ilBookmarkTree.php");
29 parent::__construct(
"bm_exp", $a_parent_obj, $a_parent_cmd,
$tree);
50 return $lng->txt(
"bookmarks");
53 return $a_node[
"title"];
79 return $lng->txt(
"icon").
" ".$lng->txt($a_node[
"type"]);
91 if ($a_node[
"child"] ==
$_GET[
"bmf_id"] ||
109 switch($a_node[
"type"])
115 $ilCtrl->setParameterByClass(
"ilbookmarkadministrationgui",
"bmf_id", $a_node[
"child"]);
116 $ret = $ilCtrl->getLinkTargetByClass(
"ilbookmarkadministrationgui",
"");
117 $ilCtrl->setParameterByClass(
"ilbookmarkadministrationgui",
"bmf_id",
$_GET[
"bmf_id"]);
getNodeHref($a_node)
Get href for node.
getNodeIcon($a_node)
Get node icon.
setSkipRootNode($a_val)
Set skip root node.
__construct($a_parent_obj, $a_parent_cmd, $a_user_id=0)
Constructor.
Bookmark explorer GUI class.
setTypeWhiteList($a_val)
Set type white list.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
getNodeId($a_node)
Get id for node.
Create styles array
The data for the language used.
getNodeContent($a_node)
Get node content.
getRootNode()
Get root node.
isNodeHighlighted($a_node)
Is node highlighted?
Explorer class that works on tree objects (Services/Tree)
setOrderField($a_val, $a_numeric=false)
Set order field.
getNodeIconAlt($a_node)
Get node icon alt attribute.