ILIAS  release_8 Revision v8.24
ILIAS\Awareness\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Awareness\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 widget (int $user_id, int $ref_id=0)
 
 admin (int $ref_id)
 
 awarenessSettings ()
 
 userProvider ()
 
 userCollector (int $user_id, int $ref_id=0)
 

Protected Attributes

Container $dic
 
InternalRepoService $repo_service
 
InternalDataService $data_service
 

Static Protected Attributes

static array $managers = array()
 
static array $collectors = array()
 

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\Awareness\InternalDomainService::__construct ( Container  $DIC,
InternalRepoService  $repo_service,
InternalDataService  $data_service 
)

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

45 {
46 $this->repo_service = $repo_service;
47 $this->data_service = $data_service;
48 $this->initDomainServices($DIC);
49 $this->dic = $DIC;
50 }
global $DIC
Definition: feed.php:28
initDomainServices(\ILIAS\DI\Container $DIC)

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

+ Here is the call graph for this function:

Member Function Documentation

◆ admin()

ILIAS\Awareness\InternalDomainService::admin ( int  $ref_id)

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

77 : AdminManager
78 {
79 return new AdminManager(
80 $ref_id,
81 $this->data_service,
82 $this
83 );
84 }
$ref_id
Definition: ltiauth.php:67

References $ref_id.

Referenced by ILIAS\Awareness\User\Collector\__construct().

+ Here is the caller graph for this function:

◆ awarenessSettings()

ILIAS\Awareness\InternalDomainService::awarenessSettings ( )

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

87 {
88 return new \ilSetting("awrn");
89 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Referenced by ILIAS\Awareness\WidgetManager\__construct(), and ILIAS\Awareness\AdminManager\__construct().

+ Here is the caller graph for this function:

◆ userCollector()

ILIAS\Awareness\InternalDomainService::userCollector ( int  $user_id,
int  $ref_id = 0 
)

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

96 : User\Collector
97 {
98 if (!isset(self::$collectors[$user_id])) {
99 self::$collectors[$user_id] = new User\Collector(
100 $user_id,
101 $ref_id,
102 $this->data_service,
103 $this->repo_service,
104 $this
105 );
106 }
107 return self::$collectors[$user_id];
108 }

References $ref_id.

Referenced by ILIAS\Awareness\WidgetManager\__construct().

+ Here is the caller graph for this function:

◆ userProvider()

ILIAS\Awareness\InternalDomainService::userProvider ( )

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

91 : User\ProviderFactory
92 {
93 return new User\ProviderFactory($this->dic);
94 }

Referenced by ILIAS\Awareness\User\Collector\__construct().

+ Here is the caller graph for this function:

◆ widget()

ILIAS\Awareness\InternalDomainService::widget ( int  $user_id,
int  $ref_id = 0 
)

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

63 : WidgetManager
64 {
65 if (!isset(self::$managers[$user_id])) {
66 self::$managers[$user_id] = new WidgetManager(
67 $user_id,
68 $ref_id,
69 $this->data_service,
70 $this->repo_service,
71 $this
72 );
73 }
74 return self::$managers[$user_id];
75 }

References $ref_id.

Field Documentation

◆ $collectors

array ILIAS\Awareness\InternalDomainService::$collectors = array()
staticprotected

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

◆ $data_service

InternalDataService ILIAS\Awareness\InternalDomainService::$data_service
protected

◆ $dic

Container ILIAS\Awareness\InternalDomainService::$dic
protected

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

◆ $managers

array ILIAS\Awareness\InternalDomainService::$managers = array()
staticprotected

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

◆ $repo_service

InternalRepoService ILIAS\Awareness\InternalDomainService::$repo_service
protected

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