ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 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 {
31 $this->setNodeOpen($c);
32 }
33 }
34}
35
36?>
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.