ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilLMTableOfContentsExplorerGUI.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4include_once("./Modules/LearningModule/classes/class.ilLMTOCExplorerGUI.php");
5
15{
24 public function __construct($a_parent_obj, $a_parent_cmd, ilLMPresentationGUI $a_lm_pres, $a_lang = "-")
25 {
26 parent::__construct($a_parent_obj, $a_parent_cmd, $a_lm_pres, $a_lang);
27 include_once("./Modules/LearningModule/classes/class.ilLMObject.php");
28 $chaps = ilLMObject::_getAllLMObjectsOfLM($this->lm->getId(), $a_type = "st");
29 foreach ($chaps as $c) {
30 $this->setNodeOpen($c);
31 }
32 }
33}
An exception for terminatinating execution or to throw for unit testing.
setNodeOpen($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour)
static _getAllLMObjectsOfLM($a_lm_id, $a_type="")
Get all objects of learning module.
Class ilLMPresentationGUI.
LM presentation (left frame) explorer GUI class.
LM presentation (separate toc screen) explorer GUI class.
__construct($a_parent_obj, $a_parent_cmd, ilLMPresentationGUI $a_lm_pres, $a_lang="-")
Constructor.
$a_type
Definition: workflow.php:92