24include_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";
57 #$this->addFilter("grp");
58 #$this->addFilter("fold");
76 $this->target_type = $a_type;
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();
isVisible($a_ref_id, $a_type)
Visible permission is sufficient.
isClickable($a_type, $a_id)
check if item is clickable
formatHeader($a_obj_id, $a_option)
overwritten method from base class @access public
__construct($a_target)
Constructor.
setTargetType($a_type)
set target type
getTargetType()
get target 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 @access public
setTitleLength($a_length)
Set max title length.
setFilterMode($a_mode=IL_FM_NEGATIVE)
set filter mode
checkPermissions($a_check)
check permissions via rbac
setFiltered($a_bool)
active/deactivate the filter @access public
const TITLE_LENGTH
max length of object title
special template class to simplify handling of ITX/PEAR