ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilLMSlateTocRendererGUI Class Reference

Renders TOC for slate. More...

+ Collaboration diagram for ilLMSlateTocRendererGUI:

Public Member Functions

 __construct (ilLMPresentationService $service)
 Constructor. More...
 
 render ()
 render More...
 

Protected Attributes

 $service
 

Detailed Description

Renders TOC for slate.

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

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

Constructor & Destructor Documentation

◆ __construct()

ilLMSlateTocRendererGUI::__construct ( ilLMPresentationService  $service)

Constructor.

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

21 {
22 global $DIC;
23
24 $this->user = $DIC->user();
25 $this->service = $service;
26 }
user()
Definition: user.php:4
$DIC
Definition: xapitoken.php:46

References $DIC, $service, and user().

+ Here is the call graph for this function:

Member Function Documentation

◆ render()

ilLMSlateTocRendererGUI::render ( )

render

Returns
string

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

34 {
35 $fac = new ilLMTOCExplorerGUIFactory();
36
37 $exp = $fac->getExplorer($this->service, "ilTOC");
38 //if (!$exp->handleCommand())
39 return $exp->getHTML();
40 }

Field Documentation

◆ $service

ilLMSlateTocRendererGUI::$service
protected

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

Referenced by __construct().


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