24 include_once(
'./Services/UIComponent/Explorer/classes/class.ilExplorer.php');
56 $this->access = $DIC->access();
57 $this->lng = $DIC->language();
58 $tree = $DIC->repositoryTree();
60 parent::__construct($a_target);
63 $this->root_id = $this->tree->readRootId();
64 $this->order_column =
"title";
72 #$this->addFilter("fold"); 112 if ($ilAccess->checkAccess(
'visible',
'', $a_id)) {
129 return $ilAccess->checkAccess(
'visible',
'', $a_ref_id);
142 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
144 $tpl->setCurrentBlock(
"text");
145 $tpl->setVariable(
"OBJ_TITLE",
$lng->txt(
"repository"));
146 $tpl->parseCurrentBlock();
148 $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.
isVisible($a_ref_id, $a_type)
Visible permission is sufficient.
checkPermissions($a_check)
check permissions via rbac
formatHeader($a_tpl, $a_obj_id, $a_option)
overwritten method from base class public
setFiltered($a_bool)
active/deactivate the filter public
special template class to simplify handling of ITX/PEAR
Class ilExplorer class for explorer view in admin frame.
isClickable($a_type, $a_id=0)
check if item is clickable
getTargetType()
get target type
setSessionExpandVariable($a_var_name="expand")
set name of expand session variable
addFilter($a_item)
adds item to the filter public
setTargetType($a_type)
set target type
__construct($a_target)
Constructor.