4 include_once(
"Services/UIComponent/Explorer2/classes/class.ilExplorerBaseGUI.php");
21 protected $id =
"ksDocumentationExplorer";
48 $this->ctrl = $DIC->ctrl();
50 parent::__construct($this->
id, $a_parent_obj, $a_parent_cmd);
52 $this->
setParentLink($this->ctrl->getLinkTarget($this->parent_obj, $this->parent_cmd));
73 $parent_id = $this->
getEntries()->getEntryById(
$id)->getParent();
95 $entry = $this->
getEntries()->getEntryById($a_parent_node_id);
101 foreach ($entry->getChildren() as $child_id) {
102 $children[$child_id] = $this->
getEntries()->getEntryById($child_id);
114 return $this->
getEntries()->getEntryById($a_entry_id);
123 return $entry->getTitle();
132 return $this->
getParentLink() .
"&node_id=" . $entry->getId();
149 return $entry->getId();
setOfflineMode($a_val)
Set offline mode.
setCurrentOpenedNodeId($current_opened_node_id)
setParentLink($parentLink)
isNodeHighlighted($entry)
setNodeOpen($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour) ...
openNodesRecursively($id)
getRootNode()
Get root node.
getChildsOfNode($a_parent_node_id)
Get childs of node.
__construct(ilSystemStyleDocumentationGUI $a_parent_obj, $a_parent_cmd, Entry\ComponentEntries $entries, $current_opened_node_id)
ilKSDocumentationExplorerGUI constructor.