ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilAwarenessUserProviderFactory.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2014 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilAwarenessUserProviderFactory
13
{
14
protected
static
$providers
=
array
(
15
array
(
16
"component"
=>
"Services/Contact/BuddySystem"
,
17
"class"
=>
"ilAwarenessUserProviderContactRequests"
18
),
19
array
(
20
"component"
=>
"Services/Awareness"
,
21
"class"
=>
"ilAwarenessUserProviderSystemContacts"
22
),
23
array
(
24
"component"
=>
"Services/Awareness"
,
25
"class"
=>
"ilAwarenessUserProviderCourseContacts"
26
),
27
array
(
28
"component"
=>
"Services/Awareness"
,
29
"class"
=>
"ilAwarenessUserProviderCurrentCourse"
30
),
31
array
(
32
"component"
=>
"Services/Contact/BuddySystem"
,
33
"class"
=>
"ilAwarenessUserProviderApprovedContacts"
34
),
35
array
(
36
"component"
=>
"Services/Awareness"
,
37
"class"
=>
"ilAwarenessUserProviderMemberships"
38
),
39
array
(
40
"component"
=>
"Services/Awareness"
,
41
"class"
=>
"ilAwarenessUserProviderAllUsers"
42
)
43
);
44
45
/*protected static $providers = array(
46
array (
47
"component" => "Services/Awareness",
48
"class" => "ilAwarenessUserProviderCourseContacts"
49
)
50
);*/
51
57
public
static
function
getAllProviders
()
58
{
59
$providers
=
array
();
60
61
foreach
(self::$providers as $p) {
62
$dir = (isset($p[
"dir"
]))
63
? $p[
"dir"
]
64
:
"classes"
;
65
include_once(
"./"
. $p[
"component"
] .
"/"
. $dir .
"/class."
. $p[
"class"
] .
".php"
);
66
$providers
[] =
new
$p[
"class"
]();
67
}
68
69
return
$providers
;
70
}
71
}
ilAwarenessUserProviderFactory\$providers
static $providers
Definition:
class.ilAwarenessUserProviderFactory.php:14
ilAwarenessUserProviderFactory\getAllProviders
static getAllProviders()
Get all awareness providers.
Definition:
class.ilAwarenessUserProviderFactory.php:57
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilAwarenessUserProviderFactory
Awareness providers are.
Definition:
class.ilAwarenessUserProviderFactory.php:12
Services
Awareness
classes
class.ilAwarenessUserProviderFactory.php
Generated on Sat Jan 18 2025 19:01:26 for ILIAS by
1.8.13 (using
Doxyfile
)