ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 23 of file class.ilOrgUnitLocalDIC.php.

Member Function Documentation

◆ buildDIC()

static ilOrgUnitLocalDIC::buildDIC ( )
staticprotected

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

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

References $DIC, and $dic.

Referenced by dic().

+ Here is the caller graph for this function:

◆ dic()

static ilOrgUnitLocalDIC::dic ( )
static

Field Documentation

◆ $dic

Container ilOrgUnitLocalDIC::$dic = null
static

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

Referenced by buildDIC(), and dic().


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