ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilLMTableOfContentsExplorerGUI.php
Go to the documentation of this file.
1 <?php
2 
24 {
25  public function __construct(
26  object $a_parent_obj,
27  string $a_parent_cmd,
28  ilLMPresentationService $a_lm_pres,
29  string $a_lang = "-"
30  ) {
31  parent::__construct($a_parent_obj, $a_parent_cmd, $a_lm_pres, $a_lang);
32  $chaps = ilLMObject::_getAllLMObjectsOfLM($this->lm->getId(), $a_type = "st");
33  foreach ($chaps as $c) {
34  $this->setNodeOpen($c);
35  }
36  }
37 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$c
Definition: cli.php:38
__construct(object $a_parent_obj, string $a_parent_cmd, ilLMPresentationService $a_lm_pres, string $a_lang="-")
setNodeOpen($a_id)
Set node to be opened (additional custom opened node, not standard expand behaviour) ...
static _getAllLMObjectsOfLM(int $a_lm_id, string $a_type="")
Get all objects of learning module.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
Main service init and factory.