13 include_once
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php";
14 include_once
"./Modules/Test/classes/inc.AssessmentConstants.php";
44 $this->target_class = $a_target_class;
45 parent::__construct($a_target);
47 $this->root_id = $this->tree->readRootId();
48 $this->order_column =
"title";
66 public function expandPathByRefId(
$ref_id)
79 foreach ((array)
$path as $node_id) {
80 if (!in_array($node_id,
$_SESSION[$this->expand_variable])) {
90 $this->selectable_type =
$a_type;
94 $this->ref_id = $a_ref_id;
100 if (
$a_type == $this->selectable_type) {
101 $this->ctrl->setParameterByClass($this->target_class,
'source_id', $a_node_id);
102 return $this->ctrl->getLinkTargetByClass($this->target_class,
'linkChilds');
104 $this->ctrl->setParameterByClass($this->target_class,
"ref_id", $this->ref_id);
105 return $this->ctrl->getLinkTargetByClass($this->target_class,
'addSolutionHint');
124 if ($a_ref_id == 0) {
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
__construct($a_target, $a_target_class)
Constructor public.
isClickable($a_type, $a_ref_id=0)
setFiltered($a_bool)
active/deactivate the filter public
setSelectableType($a_type)
Class ilExplorer class for explorer view in admin frame.
buildLinkTarget($a_node_id, $a_type)
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)