12 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
13 include_once
'./Services/Repository/classes/class.ilRepositoryExplorer.php';
43 $this->root_id = $this->tree->readRootId();
44 $this->order_column =
"title";
65 $this->control_class =& $class;
69 return $this->control_class;
74 $this->selectable_types = $a_type;
78 $this->ref_id = $a_ref_id;
84 if(in_array($a_type,$this->selectable_types))
86 #$this->ctrl->setParameterByClass('ilrepositorygui','source_id',$a_node_id);
87 $this->ctrl->setParameter($this->
getControlClass(),
'source_id',$a_node_id);
93 $this->ctrl->setParameterByClass(
'ilrepositorygui',
"ref_id",$this->ref_id);
94 return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copySelector');
105 return in_array($a_type,$this->selectable_types) and $a_ref_id !=
$this->ref_id;
117 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
139 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
141 $tpl->setCurrentBlock(
"text");
142 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
143 $tpl->parseCurrentBlock();
148 $this->output[] =
$tpl->get();