12 require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
44 $this->role_desk_obj =&$role_desk_item_obj;
46 parent::__construct($a_target);
48 $this->root_id = $this->tree->readRootId();
49 $this->order_column =
"title";
55 #$this->addFilter("chat"); 56 #$this->addFilter('fold'); 66 $this->ctrl->setParameterByClass(
'ilobjrolegui',
'item_id', $a_node_id);
67 return $this->ctrl->getLinkTargetByClass(
'ilobjrolegui',
'assignDesktopItem');
79 return $rbacsystem->checkAccess(
'write', $a_ref_id) and !$this->role_desk_obj->isAssigned($a_ref_id);
87 return $rbacsystem->checkAccess(
'read', $a_ref_id);
104 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
106 $tpl->setCurrentBlock(
"text");
107 $tpl->setVariable(
"OBJ_TITLE", $lng->txt(
"repository"));
108 $tpl->parseCurrentBlock();
113 $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.
__construct($a_target, $role_desk_item_obj)
Constructor public.
setFiltered($a_bool)
active/deactivate the filter public
formatHeader($tpl, $a_obj_id, $a_option)
overwritten method from base class public
special template class to simplify handling of ITX/PEAR
buildLinkTarget($a_node_id, $a_type)
Class ilExplorer class for explorer view in admin frame.
isClickable($a_type, $a_ref_id=0)
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)