33 include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
39 public function __construct($a_parent_obj, $a_parent_cmd, $a_selectable_type)
43 $this->tree = $DIC->repositoryTree();
44 $this->ctrl = $DIC->ctrl();
45 $tree = $DIC->repositoryTree();
47 parent::__construct(
"rep_exp", $a_parent_obj, $a_parent_cmd,
$tree);
49 $this->current_type = $a_selectable_type;
51 $this->
setTypeWhiteList(array(
"root",
"cat",
"grp",
"fold",
"crs", $this->current_type));
58 return $a_node[
"title"];
64 return ilObject::_getIcon($obj_id,
"tiny", $a_node[
"type"]);
71 $ilCtrl->setParameter($this->parent_obj,
'source_id', $a_node[
"child"]);
72 return $ilCtrl->getLinkTarget($this->parent_obj,
'linkChilds');
77 return ($a_node[
"type"] == $this->current_type);
__construct($a_parent_obj, $a_parent_cmd, $a_selectable_type)
setSkipRootNode($a_val)
Set skip root node.
setTypeWhiteList($a_val)
Set type white list.
static _lookupObjId($a_id)
Explorer class that works on tree objects (Services/Tree)