ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator 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 24 of file RBACServices.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 28 of file RBACServices.php.

References ILIAS\DI\RBACServices\$container.

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

Member Function Documentation

◆ admin()

ILIAS\DI\RBACServices::admin ( )

Get the interface to insert relations into the RBAC system.

Definition at line 44 of file RBACServices.php.

44  : \ilRbacAdmin
45  {
46  return $this->container["rbacadmin"];
47  }
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 52 of file RBACServices.php.

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

◆ system()

ILIAS\DI\RBACServices::system ( )

Get the interface to the RBAC system.

Definition at line 36 of file RBACServices.php.

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

Field Documentation

◆ $container

Container ILIAS\DI\RBACServices::$container
protected

Definition at line 26 of file RBACServices.php.

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


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