ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilUserActionContextFactory.php
Go to the documentation of this file.
1
<?
php
2
3
/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilUserActionContextFactory
13
{
14
protected
static
$contexts
=
array
(
15
array
(
16
"component"
=>
"Services/User/Actions/Contexts"
,
17
"class"
=>
"ilAwarenessUserActionContext"
18
)
19
);
20
26
static
function
getAllActionContexts
()
27
{
28
$contexts
=
array
();
29
30
foreach
(self::$contexts as $p)
31
{
32
$dir = (isset($p[
"dir"
]))
33
? $p[
"dir"
]
34
:
"classes"
;
35
include_once(
"./"
.$p[
"component"
].
"/"
.$dir.
"/class."
.$p[
"class"
].
".php"
);
36
$contexts
[] =
new
$p[
"class"
]();
37
}
38
39
return
$contexts
;
40
}
41
42
}
43
44
?>
ilUserActionContextFactory
Factory for user action contexts.
Definition:
class.ilUserActionContextFactory.php:12
ilUserActionContextFactory\$contexts
static $contexts
Definition:
class.ilUserActionContextFactory.php:14
ilUserActionContextFactory\getAllActionContexts
static getAllActionContexts()
Get all action contexts.
Definition:
class.ilUserActionContextFactory.php:26
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
php
Services
User
Actions
Contexts
classes
class.ilUserActionContextFactory.php
Generated on Fri Jan 24 2025 19:01:16 for ILIAS by
1.8.13 (using
Doxyfile
)