ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
RBACServices.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\DI;
20 
25 {
26  protected Container $container;
27 
28  public function __construct(Container $container)
29  {
30  $this->container = $container;
31  }
32 
36  public function system(): \ilRbacSystem
37  {
38  return $this->container["rbacsystem"];
39  }
40 
44  public function admin(): \ilRbacAdmin
45  {
46  return $this->container["rbacadmin"];
47  }
48 
52  public function review(): \ilRbacReview
53  {
54  return $this->container["rbacreview"];
55  }
56 }
__construct(Container $container)
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:35
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Container.php:19
system()
Get the interface to the RBAC system.
review()
Get the interface to query the RBAC system.
Provides fluid interface to RBAC services.
Class ilRbacAdmin Core functions for role based access control.
admin()
Get the interface to insert relations into the RBAC system.