33 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
64 parent::__construct($a_target);
66 $this->root_id = $this->tree->readRootId();
67 $this->order_column =
"title";
87 $this->clickable_types = $a_types;
92 if (in_array(
$a_type, $this->clickable_types)) {
100 $this->target_class = $a_class;
104 return $this->target_class ? $this->target_class :
'ilsearchgui';
112 return $this->cmd ? $this->cmd :
'selectRoot';
117 $this->selectable_type =
$a_type;
121 $this->ref_id = $a_ref_id;
127 $this->ctrl->setParameterByClass($this->
getTargetClass(),
"root_id", $a_node_id);
143 if ($a_ref_id == 0) {
167 $ilias = $DIC[
'ilias'];
169 #$tpl = new ilTemplate("tpl.tree.html", true, true, "Services/UIComponent/Explorer"); 171 if (in_array(
"root", $this->clickable_types)) {
172 $tpl->setCurrentBlock(
"link");
175 $this->ctrl->setParameterByClass($this->
getTargetClass(),
'root_id', ROOT_FOLDER_ID);
176 $tpl->setVariable(
"LINK_TARGET", $this->ctrl->getLinkTargetByClass($this->getTargetClass(), $this->
getCmd()));
177 $tpl->setVariable(
"TITLE",
$lng->txt(
"repository"));
179 $tpl->parseCurrentBlock();
182 #$this->output[] = $tpl->get();
setClickableTypes($a_types)
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
const TITLE_LENGTH
max length of object title
__construct($a_target)
Constructor public.
setTitleLength($a_length)
Set max title length.
isClickable($a_type, $a_ref_id=0)
setFiltered($a_bool)
active/deactivate the filter public
buildLinkTarget($a_node_id, $a_type)
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
Class ilExplorer class for explorer view in admin frame.
setSelectableType($a_type)
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public
formatHeader($tpl, $a_obj_id, $a_option)
overwritten method from base class public