ILIAS
trunk Revision v11.0_alpha-1723-g8e69f309bab
◀ 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
q
r
s
t
u
v
w
x
y
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
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
CombinedActionProvider.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\components\ResourceStorage\Container\View
;
22
23
use
ILIAS\components\ResourceStorage\Container\View\ActionBuilder\ActionProvider
;
24
29
final
class
CombinedActionProvider
implements
ActionProvider
30
{
31
35
private
array
$providers
;
36
37
public
function
__construct
(
ActionProvider
...$providers)
38
{
39
$this->providers =
$providers
;
40
}
41
42
public
function
getTopActions
(): array
43
{
44
$actions = [];
45
foreach
($this->providers as
$provider
) {
46
$actions[] = $provider->getTopActions();
47
}
48
return
array_merge([], ... $actions);
49
}
50
51
public
function
getSingleActions
(
Request
$view_request): array
52
{
53
$actions = [];
54
foreach
($this->providers as
$provider
) {
55
$actions[] = $provider->getSingleActions($view_request);
56
}
57
$array_merge = array_merge([], ... $actions);
58
return
$array_merge;
59
}
60
61
public
function
getComponents
(): array
62
{
63
$components
= [];
64
foreach
($this->providers as
$provider
) {
65
$components
[] = $provider->getComponents();
66
}
67
return
array_merge([], ...
$components
);
68
}
69
70
}
ILIAS\components\ResourceStorage\Container\View\ActionBuilder\ActionProvider
Definition:
ActionProvider.php:30
ActionProvider
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider
Definition:
CombinedActionProvider.php:29
ILIAS\components\ResourceStorage\Container\View
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider\$providers
array $providers
Definition:
CombinedActionProvider.php:35
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider\getSingleActions
getSingleActions(Request $view_request)
Definition:
CombinedActionProvider.php:51
$components
$components
Definition:
build_bootstrap.php:58
ServerRequestInterface
$provider
$provider
Definition:
ltitoken.php:80
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider\getTopActions
getTopActions()
Definition:
CombinedActionProvider.php:42
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider\__construct
__construct(ActionProvider ... $providers)
Definition:
CombinedActionProvider.php:37
ILIAS\components\ResourceStorage\Container\View\CombinedActionProvider\getComponents
getComponents()
Definition:
CombinedActionProvider.php:61
components
ILIAS
ResourceStorage
classes
Container
View
ActionBuilder
CombinedActionProvider.php
Generated on Sun Apr 6 2025 23:03:57 for ILIAS by
1.8.13 (using
Doxyfile
)