ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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
35 public function __construct(
38 ILIAS\UI\Factory $f,
39 ILIAS\UI\Renderer $r
40 ) {
41 $this->f = $f;
42 $this->r = $r;
43 $this->ctrl = $ctrl;
44 $this->tpl = $tpl;
45 }
46
47 public function show(Entries $entries, string $current_opened_node_id): void
48 {
49 $entry_gui = new ilKSDocumentationEntryGUI(
50 $this->f,
51 $this->ctrl,
52 $entries,
53 $current_opened_node_id
54 );
55
56 $this->tpl->setContent($this->r->render($entry_gui->createUIComponentOfEntry()));
57 }
58}
Builds a Color from either hex- or rgb values.
Definition: Factory.php:31
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)
An entity that renders components to a string output.
Definition: Renderer.php:31
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.