ILIAS  release_8 Revision v8.24
class.ilSystemStyleDocumentationGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
27{
29 protected ilCtrl $ctrl;
32
33 public const SHOW_TREE = 'system_styles_show_tree';
34 public const DATA_PATH = './Services/Style/System/data/data.php';
35 public const ROOT_FACTORY_PATH = './Services/Style/System/data/abstractDataFactory.php';
36
37 public function __construct(
40 ILIAS\UI\Factory $f,
41 ILIAS\UI\Renderer $r
42 ) {
43 $this->f = $f;
44 $this->r = $r;
45 $this->ctrl = $ctrl;
46 $this->tpl = $tpl;
47 }
48
49 public function show(Entries $entries, string $current_opened_node_id): void
50 {
51 $entry_gui = new ilKSDocumentationEntryGUI(
52 $this->f,
53 $this->ctrl,
54 $entries,
55 $current_opened_node_id
56 );
57
58 $this->tpl->setContent($this->r->render($entry_gui->createUIComponentOfEntry()));
59 }
60}
Container storing a list of UI Component Entries, can act as Iterator, countable and is serializable.
Class ilCtrl provides processing control methods.
Renders the Overview of the Examples in the Administration.
__construct(ilGlobalTemplateInterface $tpl, ilCtrl $ctrl, ILIAS\UI\Factory $f, ILIAS\UI\Renderer $r)
show(Entries $entries, string $current_opened_node_id)
This is how the factory for UI elements looks.
Definition: Factory.php:38
An entity that renders components to a string output.
Definition: Renderer.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.