12require_once(
"./Services/UIComponent/Explorer/classes/class.ilExplorer.php");
44 $this->role_desk_obj =& $role_desk_item_obj;
46 parent::ilExplorer($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');
80 return $rbacsystem->checkAccess(
'write',$a_ref_id) and !$this->role_desk_obj->isAssigned($a_ref_id);
89 return $rbacsystem->checkAccess(
'read',$a_ref_id);
106 $tpl =
new ilTemplate(
"tpl.tree.html",
true,
true,
"Services/UIComponent/Explorer");
108 $tpl->setCurrentBlock(
"text");
109 $tpl->setVariable(
"OBJ_TITLE",
$lng->txt(
"repository"));
110 $tpl->parseCurrentBlock();
115 $this->output[] =
$tpl->get();
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
setFiltered($a_bool)
active/deactivate the filter @access public
const TITLE_LENGTH
max length of object title
isClickable($a_type, $a_ref_id)
check if links for certain object type are activated
formatHeader($a_obj_id, $a_option)
overwritten method from base class @access public
buildLinkTarget($a_node_id, $a_type)
get link target (may be overwritten by derived classes)
ilRoleDesktopItemSelector($a_target, $role_desk_item_obj)
Constructor @access public.
buildFrameTarget($a_type, $a_child=0, $a_obj_id=0)
get frame target (may be overwritten by derived classes)
showChilds($a_ref_id)
determines wether the childs of an object should be shown or not note: this standard implementation a...
special template class to simplify handling of ITX/PEAR