24 include_once(
'./Services/UIComponent/Explorer/classes/class.ilExplorer.php');
46 parent::__construct($a_target);
49 $this->root_id = $this->tree->readRootId();
50 $this->order_column =
"title";
58 #$this->addFilter("fold"); 100 if($ilAccess->checkAccess(
'visible',
'',$a_id))
118 return $ilAccess->checkAccess(
'visible',
'',$a_ref_id);
132 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
134 $tpl->setCurrentBlock(
"text");
135 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
136 $tpl->parseCurrentBlock();
143 $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.