24include_once(
'./Services/UIComponent/Explorer/classes/class.ilExplorer.php');
56 $this->access =
$DIC->access();
57 $this->lng =
$DIC->language();
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();
An exception for terminatinating execution or to throw for unit testing.
isVisible($a_ref_id, $a_type)
Visible permission is sufficient.
formatHeader($a_tpl, $a_obj_id, $a_option)
overwritten method from base class @access public
__construct($a_target)
Constructor.
setTargetType($a_type)
set target type
isClickable($a_type, $a_id=0)
check if item is clickable
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