ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Style\Content\InternalService Class Reference
+ Collaboration diagram for ILIAS\Style\Content\InternalService:

Public Member Functions

 __construct (Container $DIC)
 
 data ()
 
 repo ()
 
 domain ()
 
 gui ()
 

Protected Attributes

Container $DIC
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Style\Content\InternalService::__construct ( Container  $DIC)

Definition at line 30 of file class.InternalService.php.

31 {
32 $this->DIC = $DIC;
33 }
global $DIC
Definition: shib_login.php:26

References $DIC.

Member Function Documentation

◆ data()

ILIAS\Style\Content\InternalService::data ( )

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

35 : InternalDataService
36 {
37 return self::$instance["data"] ??= new InternalDataService();
38 }

◆ domain()

ILIAS\Style\Content\InternalService::domain ( )

Definition at line 50 of file class.InternalService.php.

50 : InternalDomainService
51 {
52 return self::$instance["domain"] ??= new InternalDomainService(
53 $this->DIC,
54 $this->repo(),
55 $this->data()
56 );
57 }

References ILIAS\Repository\InternalService\data(), and ILIAS\Repository\InternalService\repo().

+ Here is the call graph for this function:

◆ gui()

ILIAS\Style\Content\InternalService::gui ( )

Definition at line 59 of file class.InternalService.php.

59 : InternalGUIService
60 {
61 return self::$instance["gui"] ??= new InternalGUIService(
62 $this->DIC,
63 $this->data(),
64 $this->domain()
65 );
66 }

References ILIAS\Repository\InternalService\data(), and ILIAS\Repository\InternalService\domain().

+ Here is the call graph for this function:

◆ repo()

ILIAS\Style\Content\InternalService::repo ( )

Definition at line 40 of file class.InternalService.php.

40 : InternalRepoService
41 {
42 return self::$instance["repo"] ??= new InternalRepoService(
43 $this->data(),
44 $this->DIC->database(),
45 $this->DIC->filesystem()->web(),
46 $this->DIC->upload()
47 );
48 }

References ILIAS\Repository\InternalService\data().

+ Here is the call graph for this function:

Field Documentation

◆ $DIC

Container ILIAS\Style\Content\InternalService::$DIC
protected

Definition at line 28 of file class.InternalService.php.

◆ $instance

array ILIAS\Style\Content\InternalService::$instance = []
staticprotected

Definition at line 27 of file class.InternalService.php.


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