ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\DI\RBACServices Class Reference

Provides fluid interface to RBAC services. More...

+ Collaboration diagram for ILIAS\DI\RBACServices:

Public Member Functions

 __construct (Container $container)
 
 system ()
 Get the interface to the RBAC system. More...
 
 admin ()
 Get the interface to insert relations into the RBAC system. More...
 
 review ()
 Get the interface to query the RBAC system. More...
 

Protected Attributes

Container $container
 

Detailed Description

Provides fluid interface to RBAC services.

Definition at line 23 of file RBACServices.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 27 of file RBACServices.php.

References ILIAS\DI\RBACServices\$container.

28  {
29  $this->container = $container;
30  }

Member Function Documentation

◆ admin()

ILIAS\DI\RBACServices::admin ( )

Get the interface to insert relations into the RBAC system.

Definition at line 43 of file RBACServices.php.

43  : \ilRbacAdmin
44  {
45  return $this->container["rbacadmin"];
46  }
Class ilRbacAdmin Core functions for role based access control.

◆ review()

ILIAS\DI\RBACServices::review ( )

Get the interface to query the RBAC system.

Definition at line 51 of file RBACServices.php.

52  {
53  return $this->container["rbacreview"];
54  }
class ilRbacReview Contains Review functions of core Rbac.

◆ system()

ILIAS\DI\RBACServices::system ( )

Get the interface to the RBAC system.

Definition at line 35 of file RBACServices.php.

36  {
37  return $this->container["rbacsystem"];
38  }
class ilRbacSystem system function like checkAccess, addActiveRole ...

Field Documentation

◆ $container

Container ILIAS\DI\RBACServices::$container
protected

Definition at line 25 of file RBACServices.php.

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


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