ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

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

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

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

77  : AdminManager
78  {
79  return new AdminManager(
80  $ref_id,
81  $this->data_service,
82  $this
83  );
84  }
$ref_id
Definition: ltiauth.php:67
+ Here is the caller graph for this function:

◆ awarenessSettings()

ILIAS\Awareness\InternalDomainService::awarenessSettings ( )

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

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

86  : \ilSetting
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...
+ 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.

References $ref_id.

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

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  }
$ref_id
Definition: ltiauth.php:67
+ Here is the caller graph for this function:

◆ userProvider()

ILIAS\Awareness\InternalDomainService::userProvider ( )

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

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

91  : User\ProviderFactory
92  {
93  return new User\ProviderFactory($this->dic);
94  }
+ 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.

References $ref_id.

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  }
$ref_id
Definition: ltiauth.php:67

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: