ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilSystemStyleDocumentationGUI.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 {
29  protected ilCtrl $ctrl;
30  protected ILIAS\UI\Factory $f;
31  protected ILIAS\UI\Renderer $r;
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(
39  ilCtrl $ctrl,
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 }
Class Factory.
Class ChatMainBarProvider .
Container storing a list of UI Component Entries, can act as Iterator, countable and is serializable...
Renders the Overview of one Example in the Administration.
show(Entries $entries, string $current_opened_node_id)
Renders the Overview of the Examples in the Administration.
__construct(ilGlobalTemplateInterface $tpl, ilCtrl $ctrl, ILIAS\UI\Factory $f, ILIAS\UI\Renderer $r)