ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
14{
23 public function __construct($a_parent_obj, $a_parent_cmd, ilLMPresentationGUI $a_lm_pres, $a_lang = "-")
24 {
25 parent::__construct($a_parent_obj, $a_parent_cmd, $a_lm_pres, $a_lang);
26 $chaps = ilLMObject::_getAllLMObjectsOfLM($this->lm->getId(), $a_type = "st");
27 foreach ($chaps as $c) {
28 $this->setNodeOpen($c);
29 }
30 }
31}
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.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$a_type
Definition: workflow.php:92