ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
+
Variables
$
c
d
e
f
g
h
i
j
l
m
n
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
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
z
Typedefs
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Modules
Pages
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 Thu Feb 27 2025 19:02:06 for ILIAS by
1.8.13 (using
Doxyfile
)