4include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
19 public function __construct($a_parent_obj, $a_parent_cmd, $a_user_id = 0)
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"]);
Bookmark explorer GUI class.
getNodeContent($a_node)
Get node content.
getNodeHref($a_node)
Get href for node.
__construct($a_parent_obj, $a_parent_cmd, $a_user_id=0)
Constructor.
isNodeHighlighted($a_node)
Is node highlighted?
getNodeIconAlt($a_node)
Get node icon alt attribute.
getNodeIcon($a_node)
Get node icon.
setSkipRootNode($a_val)
Set skip root node.
Explorer class that works on tree objects (Services/Tree)
setTypeWhiteList($a_val)
Set type white list.
getRootNode()
Get root node.
getNodeId($a_node)
Get id for node.
setOrderField($a_val, $a_numeric=false)
Set order field.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)