ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilLMSlateTocRendererGUI.php
Go to the documentation of this file.
1<?php
2
24{
25 protected ilObjUser $user;
27
28 public function __construct(
30 ) {
31 global $DIC;
32
33 $this->user = $DIC->user();
34 $this->service = $service;
35 }
36
37 public function render(): string
38 {
39 $fac = new ilLMTOCExplorerGUIFactory();
40
41 $exp = $fac->getExplorer($this->service, "ilTOC");
42 //if (!$exp->handleCommand())
43 return $exp->getHTML(true);
44 }
45
49 public function renderLSToc(\LSTOCBuilder $toc): void
50 {
51 $fac = new ilLMTOCExplorerGUIFactory();
52 $exp = $fac->getExplorer($this->service, "ilTOC");
53 $exp->renderLSToc($toc);
54 }
55}
Class LSTOCBuilder.
Main service init and factory.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilLMPresentationService $service)
renderLSToc(\LSTOCBuilder $toc)
Render into ls toc.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
User class.
global $DIC
Definition: shib_login.php:26