ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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.

43 {
44 $this->initDomainServices($DIC);
45 }
initDomainServices(\ILIAS\DI\Container $DIC)

References ILIAS\Repository\initDomainServices().

+ 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.

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(),
86 );
87 }
$ref_id
Definition: ltiauth.php:66

References $ref_id.

◆ links()

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

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

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

References $ref_id.

◆ log()

ILIAS\Wiki\InternalDomainService::log ( )

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

47 : \ilLogger
48 {
49 return $this->logger()->wiki();
50 }
Component logger with individual log levels by component id.

References ILIAS\Repository\logger().

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

+ 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.

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

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

+ Here is the caller graph for this function:

◆ wiki()

ILIAS\Wiki\InternalDomainService::wiki ( )

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

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

◆ 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: