ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.InternalDomainService.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
21
namespace
ILIAS\Awareness
;
22
23
use
ILIAS\DI\Container
;
24
use
ILIAS\Repository\GlobalDICDomainServices
;
25
29
class
InternalDomainService
30
{
31
use
GlobalDICDomainServices
;
32
33
protected
Container
$dic
;
34
protected
InternalRepoService
$repo_service
;
35
protected
InternalDataService
$data_service
;
37
protected
static
array
$managers
= array();
39
protected
static
array
$collectors
= array();
40
41
public
function
__construct
(
42
Container
$DIC
,
43
InternalRepoService
$repo_service,
44
InternalDataService
$data_service
45
) {
46
$this->repo_service =
$repo_service
;
47
$this->data_service =
$data_service
;
48
$this->
initDomainServices
($DIC);
49
$this->dic =
$DIC
;
50
}
51
52
/*
53
public function access(int $ref_id, int $user_id) : Access\AccessManager
54
{
55
return new Access\AccessManager(
56
$this,
57
$this->access,
58
$ref_id,
59
$user_id
60
);
61
}*/
62
63
public
function
widget
(
int
$user_id,
int
$ref_id
= 0):
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
}
76
77
public
function
admin
(
int
$ref_id
):
AdminManager
78
{
79
return
new
AdminManager
(
80
$ref_id,
81
$this->data_service,
82
$this
83
);
84
}
85
86
public
function
awarenessSettings
(): \
ilSetting
87
{
88
return
new \ilSetting(
"awrn"
);
89
}
90
91
public
function
userProvider
(): User\
ProviderFactory
92
{
93
return
new
User\ProviderFactory
($this->dic);
94
}
95
96
public
function
userCollector
(
int
$user_id,
int
$ref_id
= 0): 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
}
109
}
ILIAS\Awareness\InternalRepoService
Notes internal repo service.
Definition:
class.InternalRepoService.php:27
ILIAS\Awareness\User\Collector
Collects users from all providers.
Definition:
class.Collector.php:30
ILIAS\Awareness\InternalDataService
Definition:
class.InternalDataService.php:26
ILIAS\Awareness\InternalDomainService\userProvider
userProvider()
Definition:
class.InternalDomainService.php:91
ILIAS\Awareness\InternalDomainService\awarenessSettings
awarenessSettings()
Definition:
class.InternalDomainService.php:86
ILIAS\Awareness\InternalDomainService\widget
widget(int $user_id, int $ref_id=0)
Definition:
class.InternalDomainService.php:63
ILIAS\Awareness
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.AdminManager.php:21
ILIAS\Repository\initDomainServices
initDomainServices(\ILIAS\DI\Container $DIC)
Definition:
trait.GlobalDICDomainServices.php:36
ILIAS\Awareness\InternalDomainService\admin
admin(int $ref_id)
Definition:
class.InternalDomainService.php:77
ILIAS\Awareness\InternalDomainService\userCollector
userCollector(int $user_id, int $ref_id=0)
Definition:
class.InternalDomainService.php:96
ILIAS\DI\Container
Customizing of pimple-DIC for ILIAS.
Definition:
Container.php:31
$DIC
global $DIC
Definition:
feed.php:28
Container
$ref_id
$ref_id
Definition:
ltiauth.php:67
ILIAS\Repository\GlobalDICDomainServices
trait GlobalDICDomainServices
Definition:
trait.GlobalDICDomainServices.php:33
ILIAS\Awareness\WidgetManager
High level business class, interface to front ends.
Definition:
class.WidgetManager.php:33
ILIAS\Awareness\InternalDomainService\$repo_service
InternalRepoService $repo_service
Definition:
class.InternalDomainService.php:34
ILIAS\Awareness\InternalDomainService\$collectors
static array $collectors
Definition:
class.InternalDomainService.php:39
ILIAS\Awareness\InternalDomainService\$data_service
InternalDataService $data_service
Definition:
class.InternalDomainService.php:35
ILIAS\Awareness\InternalDomainService\__construct
__construct(Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
Definition:
class.InternalDomainService.php:41
ILIAS\GlobalScreen\Provider\ProviderFactory
Interface ProviderFactory.
Definition:
ProviderFactory.php:33
ILIAS\Awareness\InternalDomainService\$managers
static array $managers
Definition:
class.InternalDomainService.php:37
ILIAS\Awareness\InternalDomainService\$dic
Container $dic
Definition:
class.InternalDomainService.php:33
ILIAS\Awareness\InternalDomainService
Definition:
class.InternalDomainService.php:29
ILIAS\Awareness\AdminManager
Administrate awareness tool.
Definition:
class.AdminManager.php:28
ilSetting
ILIAS\Awareness\User\ProviderFactory
Awareness providers are.
Definition:
class.ProviderFactory.php:27
Services
Awareness
Service
class.InternalDomainService.php
Generated on Mon Apr 14 2025 22:01:24 for ILIAS by
1.8.13 (using
Doxyfile
)