4include_once(
"./Services/UIComponent/Explorer2/classes/class.ilTreeExplorerGUI.php");
 
   28                $this->cur_ref_id = (int) 
$_GET[
"ref_id"];
 
   30                $this->top_node_id = 0;         
 
   31                parent::__construct(
"adm_exp", $a_parent_obj, $a_parent_cmd, 
$tree);
 
   38                foreach ($objDefinition->getSubObjectsRecursively(
"root") as $rtype)
 
   40                        if ($rtype[
"name"] != 
"itgr" && !$objDefinition->isSideBlock($rtype[
"name"]))
 
   47                if ((
int) 
$_GET[
"ref_id"] > 0)
 
   68                                $title = $lng->txt(
"repository");
 
  108                return parent::getNodeIconAlt($a_node);
 
  119                if ($a_node[
"child"] == 
$_GET[
"ref_id"] ||
 
  135                global 
$ilCtrl, $objDefinition;
 
  137                $class_name = $objDefinition->getClassName($a_node[
"type"]);
 
  138                $class = strtolower(
"ilObj".$class_name.
"GUI");
 
  139                $ilCtrl->setParameterByClass($class, 
"ref_id", $a_node[
"child"]);
 
  140                $link = 
$ilCtrl->getLinkTargetByClass($class, 
"view");
 
  141                $ilCtrl->setParameterByClass($class, 
"ref_id", 
$_GET[
"ref_id"]);
 
  156                $visible = $rbacsystem->checkAccess(
'visible', $a_node[
"child"]);
 
  157                if ($a_node[
"type"] == 
"rolf" && $a_node[
"child"] != ROLE_FOLDER_ID)
 
  174                global $objDefinition;
 
  178                if ($parent_obj_id > 0)
 
  184                        $parent_type  = 
"dummy";
 
  185                        $this->type_grps[
"dummy"] = array(
"root" => 
"dummy");
 
  188                if (empty($this->type_grps[$parent_type]))
 
  190                        $this->type_grps[$parent_type] =
 
  191                                $objDefinition->getGroupedRepositoryObjectTypes($parent_type);
 
  195                foreach ($a_childs as $child)
 
  197                        $g = $objDefinition->getGroupOfObj($child[
"type"]);
 
  202                        $group[$g][] = $child;
 
  206                foreach ($this->type_grps[$parent_type] as 
$t => $g)
 
  208                        if (is_array($group[
$t]))
 
  211                                include_once(
"./Services/Container/classes/class.ilContainer.php");
 
  212                                include_once(
"./Services/Container/classes/class.ilContainerSorting.php");
 
  214                                $group = $sort->sortItems($group);
 
  222                                foreach ($group[
$t] as $k => $item)
 
  242                if (!$rbacsystem->checkAccess(
"read", $a_parent_node_id))
 
  247                return parent::getChildsOfNode($a_parent_node_id);
 
  260                return $rbacsystem->checkAccess(
'read', $a_node[
"child"]);
 
An exception for terminatinating execution or to throw for unit testing.
Administration explorer GUI class.
isNodeVisible($a_node)
Is node visible.
getNodeHref($a_node)
Get href for node.
getNodeIcon($a_node)
Get node icon.
isNodeClickable($a_node)
Is node clickable?
isNodeHighlighted($a_node)
Is node highlighted?
getNodeIconAlt($a_node)
Get node icon alt text.
sortChilds($a_childs, $a_parent_node_id)
Sort childs.
getNodeContent($a_node)
Get node content.
__construct($a_parent_obj, $a_parent_cmd)
Constructor.
getChildsOfNode($a_parent_node_id)
Get childs of node.
static _getInstance($a_obj_id)
get instance by obj_id
setSkipRootNode($a_val)
Set skip root node.
static _lookupObjId($a_id)
static _getIcon($a_obj_id="", $a_size="big", $a_type="", $a_offline=false)
Get icon for repository item.
static _lookupType($a_id, $a_reference=false)
lookup object type
Explorer class that works on tree objects (Services/Tree)
setTypeWhiteList($a_val)
Set type white list.
getRootNode()
Get root node.
setPathOpen($a_id)
Set node path to be opened.
getNodeId($a_node)
Get id for node.
setOrderField($a_val, $a_numeric=false)
Set order field.