33 include_once
"./classes/class.ilExplorer.php";
34 include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
62 $this->target_class = $a_target_class;
65 $this->root_id = $this->tree->readRootId();
66 $this->order_column =
"title";
83 $this->selectable_type = $a_type;
87 $this->ref_id = $a_ref_id;
93 if($a_type == $this->selectable_type)
95 $this->ctrl->setParameterByClass($this->target_class,
'source_id',$a_node_id);
96 return $this->ctrl->getLinkTargetByClass($this->target_class,
'linkChilds');
100 $this->ctrl->setParameterByClass($this->target_class,
"ref_id",$this->ref_id);
101 return $this->ctrl->getLinkTargetByClass($this->target_class,
'addSolutionHint');
113 return $a_type == $this->selectable_type and $a_ref_id !=
$this->ref_id;
125 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
147 include_once
"./classes/class.ilTemplate.php";
150 $tpl->setCurrentBlock(
"text");
151 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
152 $tpl->parseCurrentBlock();
154 $tpl->setCurrentBlock(
"row");
155 $tpl->parseCurrentBlock();
157 $this->output[] =
$tpl->get();