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',
'linkChilds');
99 $this->ctrl->setParameterByClass(
'ilrepositorygui',
"ref_id",$this->ref_id);
100 return $this->ctrl->getLinkTargetByClass(
'ilrepositorygui',
'linkSelector');
114 return $a_type == $this->selectable_type
115 and $a_ref_id != $this->ref_id
116 and $rbacsystem->checkAccess(
'write',$a_ref_id);
128 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
152 $tpl->setCurrentBlock(
"text");
153 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
154 $tpl->parseCurrentBlock();
156 $tpl->setCurrentBlock(
"row");
157 $tpl->parseCurrentBlock();
159 $this->output[] =
$tpl->get();