12 require_once(
"classes/class.ilExplorer.php");
42 $this->root_id = $this->tree->readRootId();
43 $this->order_column =
"title";
64 $this->control_class =& $class;
68 return $this->control_class;
73 $this->selectable_types = $a_type;
77 $this->ref_id = $a_ref_id;
83 if(in_array($a_type,$this->selectable_types))
85 #$this->ctrl->setParameterByClass('ilrepositorygui','source_id',$a_node_id);
86 $this->ctrl->setParameter($this->
getControlClass(),
'source_id',$a_node_id);
92 $this->ctrl->setParameterByClass(
'ilrepositorygui',
"ref_id",$this->ref_id);
93 return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copySelector');
104 return in_array($a_type,$this->selectable_types) and $a_ref_id !=
$this->ref_id;
116 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
140 $tpl->setCurrentBlock(
"text");
141 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
142 $tpl->parseCurrentBlock();
147 $this->output[] =
$tpl->get();