ILIAS  release_8 Revision v8.24
UIServices.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 2016 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5namespace ILIAS\DI;
6
7/******************************************************************************
8 *
9 * This file is part of ILIAS, a powerful learning management system.
10 *
11 * ILIAS is licensed with the GPL-3.0, you should have received a copy
12 * of said license along with the source code.
13 *
14 * If this is not the case or you just want to try ILIAS, you'll find
15 * us at:
16 * https://www.ilias.de
17 * https://github.com/ILIAS-eLearning
18 *
19 *****************************************************************************/
24{
26
28 {
29 $this->container = $container;
30 }
31
35 public function factory(): \ILIAS\UI\Factory
36 {
37 return $this->container["ui.factory"];
38 }
39
43 public function renderer(): \ILIAS\UI\Renderer
44 {
45 return $this->container["ui.renderer"];
46 }
47
54 {
55 return $this->container["tpl"];
56 }
57}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:32
Provides fluid interface to RBAC services.
Definition: UIServices.php:24
renderer()
Get a renderer for UI components.
Definition: UIServices.php:43
mainTemplate()
Get the ILIAS main template.
Definition: UIServices.php:53
__construct(Container $container)
Definition: UIServices.php:27
factory()
Get the factory that crafts UI components.
Definition: UIServices.php:35
Container $container
Definition: UIServices.php:25
Builds data types.
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.