ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilLMSlateTocRendererGUI.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
11{
15 protected $service;
16
21 {
22 global $DIC;
23
24 $this->user = $DIC->user();
25 $this->service = $service;
26 }
27
33 public function render()
34 {
35 $fac = new ilLMTOCExplorerGUIFactory();
36
37 $exp = $fac->getExplorer($this->service, "ilTOC");
38 //if (!$exp->handleCommand())
39 return $exp->getHTML();
40 }
41
46 public function renderLSToc(\LSTOCBuilder $toc)
47 {
48 $fac = new ilLMTOCExplorerGUIFactory();
49 $exp = $fac->getExplorer($this->service, "ilTOC");
50 $exp->renderLSToc($toc);
51 }
52}
user()
Definition: user.php:4
An exception for terminatinating execution or to throw for unit testing.
Class LSTOCBuilder.
Main service init and factory.
__construct(ilLMPresentationService $service)
Constructor.
renderLSToc(\LSTOCBuilder $toc)
Render into ls toc.
global $DIC
Definition: goto.php:24