33 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
63 $this->root_id = $this->tree->readRootId();
64 $this->order_column =
"title";
84 $this->clickable_types = $a_types;
89 if (in_array($a_type, $this->clickable_types))
98 $this->target_class = $a_class;
102 return $this->target_class ? $this->target_class :
'ilsearchgui';
110 return $this->cmd ? $this->cmd :
'selectRoot';
115 $this->selectable_type = $a_type;
119 $this->ref_id = $a_ref_id;
125 $this->ctrl->setParameterByClass($this->
getTargetClass(),
"root_id",$a_node_id);
145 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
167 #$tpl = new ilTemplate("tpl.tree.html", true, true, "Services/UIComponent/Explorer");
169 if (in_array(
"root", $this->clickable_types))
171 $tpl->setCurrentBlock(
"link");
174 $this->ctrl->setParameterByClass($this->
getTargetClass(),
'root_id',ROOT_FOLDER_ID);
175 $tpl->setVariable(
"LINK_TARGET",$this->ctrl->getLinkTargetByClass($this->getTargetClass(),$this->
getCmd()));
176 $tpl->setVariable(
"TITLE", $lng->txt(
"repository"));
178 $tpl->parseCurrentBlock();
181 #$this->output[] = $tpl->get();