ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 16 of file UIServices.php.

References ILIAS\DI\UIServices\$container.

17  {
18  $this->container = $container;
19  }

Member Function Documentation

◆ factory()

ILIAS\DI\UIServices::factory ( )

Get the factory that crafts UI components.

Returns

Definition at line 26 of file UIServices.php.

27  {
28  return $this->container["ui.factory"];
29  }

◆ mainTemplate()

ILIAS\DI\UIServices::mainTemplate ( )

Get the ILIAS main template.

Returns

Definition at line 46 of file UIServices.php.

47  {
48  return $this->container["tpl"];
49  }

◆ renderer()

ILIAS\DI\UIServices::renderer ( )

Get a renderer for UI components.

Returns

Definition at line 36 of file UIServices.php.

37  {
38  return $this->container["ui.renderer"];
39  }

Field Documentation

◆ $container

ILIAS\DI\UIServices::$container
protected

Definition at line 14 of file UIServices.php.

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


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