32 require_once(
"classes/class.ilExplorer.php");
62 $this->root_id = $this->tree->readRootId();
63 $this->order_column =
"title";
82 $this->selectable_type = $a_type;
86 $this->ref_id = $a_ref_id;
92 if($a_type == $this->selectable_type)
94 $this->ctrl->setParameterByClass(
'ilrepositorygui',
'source_id',$a_node_id);
95 return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copyChilds');
99 $this->ctrl->setParameterByClass(
'ilrepositorygui',
"ref_id",$this->ref_id);
100 return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'copySelector');
112 return $a_type == $this->selectable_type and $a_ref_id !=
$this->ref_id;
124 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
148 $tpl->setCurrentBlock(
"text");
149 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
150 $tpl->parseCurrentBlock();
152 $tpl->setCurrentBlock(
"row");
153 $tpl->parseCurrentBlock();
155 $this->output[] =
$tpl->get();