ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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/Awareness"
,
17
"class"
=>
"ilAwarenessUserActionContext"
18
),
19
array(
20
"component"
=>
"Services/User/Gallery"
,
21
"class"
=>
"ilGalleryUserActionContext"
22
)
23
);
24
30
public
static
function
getAllActionContexts
()
31
{
32
$contexts
= array();
33
34
foreach
(self::$contexts as $p) {
35
$dir = (isset($p[
"dir"
]))
36
? $p[
"dir"
]
37
:
"classes"
;
38
include_once(
"./"
. $p[
"component"
] .
"/"
. $dir .
"/class."
. $p[
"class"
] .
".php"
);
39
$contexts
[] =
new
$p[
"class"
]();
40
}
41
42
return
$contexts
;
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:30
php
Services
User
Actions
Contexts
classes
class.ilUserActionContextFactory.php
Generated on Sun Aug 31 2025 19:02:01 for ILIAS by
1.8.13 (using
Doxyfile
)