ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Notes\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Notes\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 noteAccess ()
 
 notes ()
 
 notification ()
 

Protected Attributes

InternalRepoService $repo_service
 
InternalDataService $data_service
 
array $instances = []
 

Detailed Description

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

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

Constructor & Destructor Documentation

◆ __construct()

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

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

References ILIAS\Export\InternalDomainService\$data_service, ILIAS\Export\InternalDomainService\$repo_service, and ILIAS\Repository\initDomainServices().

41  {
42  $this->repo_service = $repo_service;
43  $this->data_service = $data_service;
44  $this->initDomainServices($DIC);
45  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ noteAccess()

ILIAS\Notes\InternalDomainService::noteAccess ( )

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

47  : AccessManager
48  {
49  return $this->instances[AccessManager::class] = $this->instances[AccessManager::class] ?? new AccessManager(
50  $this->data_service,
51  $this->repo_service,
52  $this
53  );
54  }

◆ notes()

ILIAS\Notes\InternalDomainService::notes ( )

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

56  : NotesManager
57  {
58  return $this->instances[NotesManager::class] = $this->instances[NotesManager::class] ?? new NotesManager(
59  $this->data_service,
60  $this->repo_service,
61  $this
62  );
63  }

◆ notification()

ILIAS\Notes\InternalDomainService::notification ( )

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

65  : NotificationsManager
66  {
67  return $this->instances[NotificationsManager::class] = $this->instances[NotificationsManager::class] ?? new NotificationsManager(
68  $this->data_service,
69  $this->repo_service,
70  $this
71  );
72  }

Field Documentation

◆ $data_service

InternalDataService ILIAS\Notes\InternalDomainService::$data_service
protected

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

◆ $instances

array ILIAS\Notes\InternalDomainService::$instances = []
protected

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

◆ $repo_service

InternalRepoService ILIAS\Notes\InternalDomainService::$repo_service
protected

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


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