ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Blog\InternalService Class Reference
+ Collaboration diagram for ILIAS\Blog\InternalService:

Public Member Functions

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

Protected Attributes

Container $DIC
 
array $instance = []
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Blog\InternalService::__construct ( Container  $DIC)

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

References $DIC.

34  {
35  $this->DIC = $DIC;
36  }
global $DIC
Definition: shib_login.php:22

Member Function Documentation

◆ data()

ILIAS\Blog\InternalService::data ( )

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

38  : InternalDataService
39  {
40  return $this->instance["data"] ??
41  $this->instance["data"] = new InternalDataService();
42  }

◆ domain()

ILIAS\Blog\InternalService::domain ( )

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

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

53  : InternalDomainService
54  {
55  return $this->instance["domain"] ??
56  $this->instance["domain"] = new InternalDomainService(
57  $this->DIC,
58  $this->repo(),
59  $this->data()
60  );
61  }
+ Here is the call graph for this function:

◆ gui()

ILIAS\Blog\InternalService::gui ( )

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

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

63  : InternalGUIService
64  {
65  return $this->instance["gui"] ??
66  $this->instance["gui"] = new InternalGUIService(
67  $this->DIC,
68  $this->data(),
69  $this->domain()
70  );
71  }
+ Here is the call graph for this function:

◆ repo()

ILIAS\Blog\InternalService::repo ( )

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

References ILIAS\Notes\InternalService\data().

44  : InternalRepoService
45  {
46  return $this->instance["repo"] ??
47  $this->instance["repo"] = new InternalRepoService(
48  $this->data(),
49  $this->DIC->database()
50  );
51  }
+ Here is the call graph for this function:

Field Documentation

◆ $DIC

Container ILIAS\Blog\InternalService::$DIC
protected

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

◆ $instance

array ILIAS\Blog\InternalService::$instance = []
protected

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


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