ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UIServices.php
Go to the documentation of this file.
1<?php
2
19namespace ILIAS\DI;
20
25{
27
29 {
30 $this->container = $container;
31 }
32
36 public function factory(): \ILIAS\UI\Factory
37 {
38 return $this->container["ui.factory"];
39 }
40
44 public function renderer(): \ILIAS\UI\Renderer
45 {
46 return $this->container["ui.renderer"];
47 }
48
55 {
56 return $this->container["tpl"];
57 }
58}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
Provides fluid interface to RBAC services.
Definition: UIServices.php:25
renderer()
Get a renderer for UI components.
Definition: UIServices.php:44
mainTemplate()
Get the ILIAS main template.
Definition: UIServices.php:54
__construct(Container $container)
Definition: UIServices.php:28
factory()
Get the factory that crafts UI components.
Definition: UIServices.php:36
Container $container
Definition: UIServices.php:26
Builds data types.
Definition: Factory.php:36
Definition: UI.php:24
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...
Definition: Container.php:19
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.