ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilLMSlateTocRendererGUI Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilLMSlateTocRendererGUI:

Public Member Functions

 __construct (ilLMPresentationService $service)
 
 render ()
 
 renderLSToc (\LSTOCBuilder $toc)
 Render into ls toc. More...
 

Protected Attributes

ilObjUser $user
 
ilLMPresentationService $service
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Renders TOC for slate

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 23 of file class.ilLMSlateTocRendererGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilLMSlateTocRendererGUI::__construct ( ilLMPresentationService  $service)

Definition at line 28 of file class.ilLMSlateTocRendererGUI.php.

30 {
31 global $DIC;
32
33 $this->user = $DIC->user();
34 $this->service = $service;
35 }
global $DIC
Definition: shib_login.php:26

References $DIC, $service, and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ render()

ilLMSlateTocRendererGUI::render ( )

Definition at line 37 of file class.ilLMSlateTocRendererGUI.php.

37 : string
38 {
39 $fac = new ilLMTOCExplorerGUIFactory();
40
41 $exp = $fac->getExplorer($this->service, "ilTOC");
42 //if (!$exp->handleCommand())
43 return $exp->getHTML(true);
44 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ renderLSToc()

ilLMSlateTocRendererGUI::renderLSToc ( \LSTOCBuilder  $toc)

Render into ls toc.

Definition at line 49 of file class.ilLMSlateTocRendererGUI.php.

49 : void
50 {
51 $fac = new ilLMTOCExplorerGUIFactory();
52 $exp = $fac->getExplorer($this->service, "ilTOC");
53 $exp->renderLSToc($toc);
54 }

Field Documentation

◆ $service

ilLMPresentationService ilLMSlateTocRendererGUI::$service
protected

Definition at line 26 of file class.ilLMSlateTocRendererGUI.php.

Referenced by __construct().

◆ $user

ilObjUser ilLMSlateTocRendererGUI::$user
protected

Definition at line 25 of file class.ilLMSlateTocRendererGUI.php.


The documentation for this class was generated from the following file: