4include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
 
   34    public function __construct($a_parent_obj, $a_parent_cmd, $a_user_id = 0)
 
   38        $this->
user = $DIC->user();
 
   39        $this->lng = 
$DIC->language();
 
   40        $this->ctrl = 
$DIC->ctrl();
 
   43        if ($a_user_id == 0) {
 
   46        include_once(
"./Services/Bookmarks/classes/class.ilBookmarkTree.php");
 
   48        parent::__construct(
"bm_exp", $a_parent_obj, $a_parent_cmd, 
$tree);
 
   68            return $lng->txt(
"bookmarks");
 
   71        return $a_node[
"title"];
 
   97        return $lng->txt(
"icon") . 
" " . 
$lng->txt($a_node[
"type"]);
 
  109        if ($a_node[
"child"] == 
$_GET[
"bmf_id"] ||
 
  126        switch ($a_node[
"type"]) {
 
  131                $ilCtrl->setParameterByClass(
"ilbookmarkadministrationgui", 
"bmf_id", $a_node[
"child"]);
 
  133                $ret = 
$ilCtrl->getLinkTargetByClass(
"ilbookmarkadministrationgui", 
"");
 
  134                if (isset(
$_GET[
'bm_link'])) {
 
  135                    $this->ctrl->setParameterByClass(
 
  136                        "ilbookmarkadministrationgui",
 
  140                    if (isset(
$_GET[
'bm_title'])) {
 
  141                        $this->ctrl->setParameterByClass(
 
  142                            "ilbookmarkadministrationgui",
 
  147                    $ret = 
$ilCtrl->getLinkTargetByClass(
"ilbookmarkadministrationgui", 
"newFormBookmark");
 
  150                $ilCtrl->setParameterByClass(
"ilbookmarkadministrationgui", 
"bmf_id", 
$_GET[
"bmf_id"]);
 
An exception for terminatinating execution or to throw for unit testing.
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 stripSlashes($a_str, $a_strip_html=true, $a_allow="")
strip slashes if magic qoutes is enabled
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)