ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
class.ilUserActionContextFactory.php
Go to the documentation of this file.
1
<?php
2
23
class
ilUserActionContextFactory
24
{
25
protected
static
array
$contexts
= [
26
[
27
"component"
=>
"components/ILIAS/Awareness"
,
28
"class"
=>
"ilAwarenessUserActionContext"
29
],
30
[
31
"component"
=>
"components/ILIAS/User/Gallery"
,
32
"class"
=>
"ilGalleryUserActionContext"
33
]
34
];
35
41
public
static
function
getAllActionContexts
(): array
42
{
43
$contexts = [];
44
45
foreach
(self::$contexts as $p) {
46
$dir = $p[
"dir"
] ??
"classes"
;
47
$contexts[] =
new
$p[
"class"
]();
48
}
49
50
return
$contexts
;
51
}
52
}
ilUserActionContextFactory
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilUserActionContextFactory.php:23
ilUserActionContextFactory\getAllActionContexts
static getAllActionContexts()
Get all action contexts.
Definition:
class.ilUserActionContextFactory.php:41
ilUserActionContextFactory\$contexts
static array $contexts
Definition:
class.ilUserActionContextFactory.php:25
components
ILIAS
User
classes
Actions
class.ilUserActionContextFactory.php
Generated on Sun Aug 31 2025 23:04:18 for ILIAS by
1.8.13 (using
Doxyfile
)