32 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
60 parent::ilExplorer($a_target);
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))
150 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
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();
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
const TITLE_LENGTH
max length of object title
setTitleLength($a_length)
Set max title length.
setSelectableType($a_type)
formatHeader($a_obj_id, $a_option)
overwritten method from base class public
setFiltered($a_bool)
active/deactivate the filter public
ilRepositoryLinkSelector($a_target)
Constructor public.
isClickable($a_type, $a_ref_id)
special template class to simplify handling of ITX/PEAR
buildLinkTarget($a_node_id, $a_type)
Class ilExplorer class for explorer view in admin frame.
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)