33 include_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
63 $this->target_class = $a_target_class;
64 parent::ilExplorer($a_target);
66 $this->root_id = $this->tree->readRootId();
67 $this->order_column =
"title";
84 $this->selectable_type = $a_type;
88 $this->ref_id = $a_ref_id;
94 if($a_type == $this->selectable_type)
96 $this->ctrl->setParameterByClass($this->target_class,
'source_id',$a_node_id);
97 return $this->ctrl->getLinkTargetByClass($this->target_class,
'linkChilds');
101 $this->ctrl->setParameterByClass($this->target_class,
"ref_id",$this->ref_id);
102 return $this->ctrl->getLinkTargetByClass($this->target_class,
'addSolutionHint');
114 return $a_type == $this->selectable_type and $a_ref_id !=
$this->ref_id;
126 if ($rbacsystem->checkAccess(
"read", $a_ref_id))
148 include_once
"./Services/UICore/classes/class.ilTemplate.php";
149 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
151 $tpl->setCurrentBlock(
"text");
152 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
153 $tpl->parseCurrentBlock();
158 $this->output[] =
$tpl->get();
166 $this->force_open_path = $a_path;
174 if (in_array($a_obj_id, $this->force_open_path))
isClickable($a_type, $a_ref_id)
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
ilMaterialExplorer($a_target, $a_target_class)
Constructor public.
setFiltered($a_bool)
active/deactivate the filter public
formatHeader($a_obj_id, $a_option)
overwritten method from base class public
forceExpanded($a_obj_id)
force expansion of node
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
Class ilExplorer class for explorer view in admin frame.
setSelectableType($a_type)
buildLinkTarget($a_node_id, $a_type)
setForceOpenPath($a_path)
set force open path
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public