ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
◀ 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
Group.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Item
;
22
23
use
ILIAS\UI\Component\Item
;
24
use
ILIAS\UI\Component\Dropdown
;
25
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
26
30
class
Group
implements
Item\Group
31
{
32
use
ComponentHelper
;
33
34
protected
string
$title
;
35
39
protected
array
$items
;
40
protected
?
Dropdown\Standard
$actions
=
null
;
41
45
public
function
__construct
(
string
$title, array $items)
46
{
47
$this->title =
$title
;
48
$this->items =
$items
;
49
}
50
54
public
function
getTitle
(): string
55
{
56
return
$this->title
;
57
}
58
62
public
function
getItems
(): array
63
{
64
return
$this->items
;
65
}
66
70
public
function
withActions
(
Dropdown
\
Standard
$dropdown):
Item
\
Group
71
{
72
$clone = clone $this;
73
$clone->actions = $dropdown;
74
return
$clone;
75
}
76
80
public
function
getActions
(): ?
Dropdown
\
Standard
81
{
82
return
$this->actions
;
83
}
84
}
ILIAS\UI\Implementation\Component\Item\Group\$title
string $title
Definition:
Group.php:34
ILIAS\UI\Implementation\Component\Item\Group\getItems
getItems()
Definition:
Group.php:62
Group
ILIAS\UI\Implementation\Component\Dropdown\Standard
Definition:
Standard.php:25
ILIAS\UI\Implementation\Component\Item\Group\withActions
withActions(Dropdown\Standard $dropdown)
Definition:
Group.php:70
ILIAS\UI\Component\Dropdown\Dropdown
This describes commonalities between all types of Dropdowns.
Definition:
Dropdown.php:34
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\UI\Implementation\Component\Input\Group
trait Group
Definition:
Group.php:36
ILIAS\UI\Component\Item\Item
Common interface to all items.
Definition:
Item.php:31
ILIAS\UI\Component\Item
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Item\Group\getActions
getActions()
Definition:
Group.php:80
ILIAS\UI\Implementation\Component\Item\Group\getTitle
getTitle()
Definition:
Group.php:54
ComponentHelper
ILIAS\UI\Implementation\Component\Item\Group\$items
array $items
Definition:
Group.php:39
ILIAS\UI\Component\Dropdown
Definition:
Dropdown.php:21
ILIAS\Data\LanguageTag\Standard
Definition:
Standard.php:25
ComponentHelper
ILIAS\UI\Implementation\Component\Item
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Item\Group\$actions
Dropdown Standard $actions
Definition:
Group.php:40
ILIAS\UI\Implementation\Component\Item\Group\__construct
__construct(string $title, array $items)
Definition:
Group.php:45
components
ILIAS
UI
src
Implementation
Component
Item
Group.php
Generated on Mon Apr 14 2025 23:03:14 for ILIAS by
1.8.13 (using
Doxyfile
)