ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
4 include_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 }
LM presentation (left frame) explorer GUI class.
__construct($a_parent_obj, $a_parent_cmd, ilLMPresentationGUI $a_lm_pres, $a_lang="-")
Constructor.
static _getAllLMObjectsOfLM($a_lm_id, $a_type="")
Get all objects of learning module.
setNodeOpen($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour) ...
Class ilLMPresentationGUI.
$a_type
Definition: workflow.php:92
LM presentation (separate toc screen) explorer GUI class.