ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ILIAS\DI\UIServices Class Reference

Provides fluid interface to RBAC services. More...

+ Collaboration diagram for ILIAS\DI\UIServices:

Public Member Functions

 __construct (Container $container)
 
 factory ()
 Get the factory that crafts UI components. More...
 
 renderer ()
 Get a renderer for UI components. More...
 
 mainTemplate ()
 Get the ILIAS main template. More...
 

Protected Attributes

 $container
 

Detailed Description

Provides fluid interface to RBAC services.

Definition at line 9 of file UIServices.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\DI\UIServices::__construct ( Container  $container)

Definition at line 15 of file UIServices.php.

References ILIAS\DI\UIServices\$container.

15  {
16  $this->container = $container;
17  }

Member Function Documentation

◆ factory()

ILIAS\DI\UIServices::factory ( )

Get the factory that crafts UI components.

Returns

Definition at line 24 of file UIServices.php.

24  {
25  return $this->container["ui.factory"];
26  }

◆ mainTemplate()

ILIAS\DI\UIServices::mainTemplate ( )

Get the ILIAS main template.

Returns

Definition at line 42 of file UIServices.php.

42  {
43  return $this->container["tpl"];
44  }

◆ renderer()

ILIAS\DI\UIServices::renderer ( )

Get a renderer for UI components.

Returns

Definition at line 33 of file UIServices.php.

33  {
34  return $this->container["ui.renderer"];
35  }

Field Documentation

◆ $container

ILIAS\DI\UIServices::$container
protected

Definition at line 13 of file UIServices.php.

Referenced by ILIAS\DI\UIServices\__construct().


The documentation for this class was generated from the following file: