ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Wiki\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Wiki\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, protected InternalRepoService $repo_service, protected InternalDataService $data_service)
 
 log ()
 
 content ()
 
 wiki ()
 
 page ()
 
 importantPage (int $ref_id)
 
 links (int $ref_id)
 
 wikiSettings ()
 

Static Protected Attributes

static array $instance = []
 

Detailed Description

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

Definition at line 34 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Wiki\InternalDomainService::__construct ( Container  $DIC,
protected InternalRepoService  $repo_service,
protected InternalDataService  $data_service 
)

Definition at line 39 of file class.InternalDomainService.php.

References ILIAS\Repository\initDomainServices().

43  {
44  $this->initDomainServices($DIC);
45  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: shib_login.php:22
+ Here is the call graph for this function:

Member Function Documentation

◆ content()

ILIAS\Wiki\InternalDomainService::content ( )

Definition at line 52 of file class.InternalDomainService.php.

52  : Content\DomainService
53  {
54  return new Content\DomainService(
55  $this->data_service,
56  $this->repo_service,
57  $this
58  );
59  }

◆ importantPage()

ILIAS\Wiki\InternalDomainService::importantPage ( int  $ref_id)

Definition at line 79 of file class.InternalDomainService.php.

References $ref_id, and ILIAS\Wiki\InternalDomainService\wiki().

79  : Navigation\ImportantPageManager
80  {
81  return self::$instance["imp_page"][$ref_id] ??= new Navigation\ImportantPageManager(
82  $this->data_service,
83  $this->repo_service->importantPage(),
84  $this->wiki(),
85  $ref_id
86  );
87  }
$ref_id
Definition: ltiauth.php:65
+ Here is the call graph for this function:

◆ links()

ILIAS\Wiki\InternalDomainService::links ( int  $ref_id)

Definition at line 89 of file class.InternalDomainService.php.

References $ref_id.

89  : LinkManager
90  {
91  return self::$instance["links"][$ref_id] ??= new LinkManager(
92  $this->data_service,
93  $this->repo_service->missingPage(),
94  $this,
95  $ref_id
96  );
97  }
$ref_id
Definition: ltiauth.php:65

◆ log()

ILIAS\Wiki\InternalDomainService::log ( )

Definition at line 47 of file class.InternalDomainService.php.

References ILIAS\Repository\logger().

Referenced by ILIAS\Wiki\Notification\NotificationGUI\__construct(), and ILIAS\Wiki\Links\LinkManager\__construct().

47  : \ilLogger
48  {
49  return $this->logger()->wiki();
50  }
Component logger with individual log levels by component id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ page()

ILIAS\Wiki\InternalDomainService::page ( )

Definition at line 70 of file class.InternalDomainService.php.

Referenced by ILIAS\Wiki\Links\LinkManager\__construct().

70  : Page\DomainService
71  {
72  return self::$instance["page"] ??= new Page\DomainService(
73  $this->data_service,
74  $this->repo_service,
75  $this
76  );
77  }
+ Here is the caller graph for this function:

◆ wiki()

ILIAS\Wiki\InternalDomainService::wiki ( )

Definition at line 61 of file class.InternalDomainService.php.

Referenced by ILIAS\Wiki\InternalDomainService\importantPage().

61  : Wiki\DomainService
62  {
63  return self::$instance["wiki"] ??= new Wiki\DomainService(
64  $this->data_service,
65  $this->repo_service,
66  $this
67  );
68  }
+ Here is the caller graph for this function:

◆ wikiSettings()

ILIAS\Wiki\InternalDomainService::wikiSettings ( )

Definition at line 99 of file class.InternalDomainService.php.

99  : SettingsManager
100  {
101  return self::$instance["settings"] ??= new SettingsManager(
102  $this->data_service,
103  $this->repo_service,
104  $this
105  );
106  }

Field Documentation

◆ $instance

array ILIAS\Wiki\InternalDomainService::$instance = []
staticprotected

Definition at line 37 of file class.InternalDomainService.php.


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