ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
ilOrgUnitLocalDIC Class Reference
+ Collaboration diagram for ilOrgUnitLocalDIC:

Static Public Member Functions

static dic ()
 

Static Public Attributes

static Container $dic = null
 

Static Protected Member Functions

static buildDIC ()
 

Detailed Description

Definition at line 24 of file class.ilOrgUnitLocalDIC.php.

Member Function Documentation

◆ buildDIC()

static ilOrgUnitLocalDIC::buildDIC ( )
staticprotected

Definition at line 36 of file class.ilOrgUnitLocalDIC.php.

References $DIC, and $dic.

36  : Container
37  {
38  global $DIC;
39  $dic = new Container();
40 
41  $dic['repo.UserAssignments'] = static fn($dic) => new ilOrgUnitUserAssignmentDBRepository($DIC['ilDB']);
42  $dic['repo.Authorities'] = static fn($dic) => new ilOrgUnitAuthorityDBRepository($DIC['ilDB']);
43  $dic['repo.Positions'] = static fn($dic) => new ilOrgUnitPositionDBRepository(
44  $DIC['ilDB'],
45  $dic['repo.Authorities'],
46  $dic['repo.UserAssignments'],
47  $dic['lng']
48  );
49  $dic['repo.OperationContexts'] = static fn($dic) => new ilOrgUnitOperationContextDBRepository($DIC['ilDB']);
50  $dic['repo.Operations'] = static fn($dic) => new ilOrgUnitOperationDBRepository(
51  $DIC['ilDB'],
52  $dic["repo.OperationContexts"]
53  );
54  $dic['repo.Permissions'] = static fn($dic) => new ilOrgUnitPermissionDBRepository(
55  $DIC['ilDB'],
56  $dic["repo.Operations"],
57  $dic["repo.OperationContexts"]
58  );
59  $dic['ui.factory'] = static fn(): \ILIAS\UI\Factory => $DIC['ui.factory'];
60  $dic['ui.renderer'] = static fn(): \ILIAS\UI\Renderer => $DIC['ui.renderer'];
61  $dic['query'] = static fn(): \ILIAS\HTTP\Wrapper\RequestWrapper => $DIC['http']->wrapper()->query();
62  $dic['refinery'] = static fn(): \ILIAS\Refinery\Factory => $DIC['refinery'];
63  $dic['access'] = static fn(): \ilAccessHandler => $DIC['ilAccess'];
64  $dic['lng'] = static fn(): \ilLanguage => $DIC['lng'];
65  $dic['ctrl'] = static fn(): \ilCtrl => $DIC['ilCtrl'];
66  $dic['tabs'] = static fn(): \ilTabsGUI => $DIC['ilTabs'];
67  $dic['resource_storage'] = static fn(): \ILIAS\ResourceStorage\Services => $DIC['resource_storage'];
68  return $dic;
69  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:25

◆ dic()

Field Documentation

◆ $dic

Container ilOrgUnitLocalDIC::$dic = null
static

Definition at line 26 of file class.ilOrgUnitLocalDIC.php.

Referenced by buildDIC().


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