ILIAS
trunk Revision v11.0_alpha-1753-gb21ca8c4367
◀ 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
Menu.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Menu
;
22
23
use
ILIAS\UI\Component
;
24
use
ILIAS\UI\Component\Menu
as
IMenu
;
25
use
ILIAS\UI\Implementation\Component\ComponentHelper
;
26
30
abstract
class
Menu
implements
IMenu\Menu
31
{
32
use
ComponentHelper
;
33
37
protected
$label
;
38
42
protected
array
$items
= [];
43
47
public
function
getLabel
(): string
48
{
49
return
$this->label
;
50
}
51
55
public
function
getItems
(): array
56
{
57
return
$this->items
;
58
}
59
60
protected
function
checkItemParameter
(array $items): void
61
{
62
$classes = [
63
Sub::class,
64
Component\Clickable::class,
65
Component\Link\Link::class,
66
Component\Divider\Horizontal::class
67
];
68
$this->checkArgListElements(
"items"
, $items, $classes);
69
}
70
}
ILIAS\UI\Implementation\Component\Menu\Menu
Basic Menu Control.
Definition:
Menu.php:30
ILIAS\UI\Component
ILIAS\UI\Implementation\Component\Menu\Menu\checkItemParameter
checkItemParameter(array $items)
Definition:
Menu.php:60
ILIAS\UI\Implementation\Component\Menu\Menu\getLabel
getLabel()
Definition:
Menu.php:47
ILIAS\UI\Implementation\Component\Menu\Menu\$label
$label
Definition:
Menu.php:37
ILIAS\UI\Implementation\Component\Menu\Menu\getItems
getItems()
Component[]
Definition:
Menu.php:55
ILIAS\UI\Implementation\Component\Menu
Definition:
Drilldown.php:21
ILIAS\UI\Implementation\Component\Menu\Menu\$items
array $items
Definition:
Menu.php:42
ComponentHelper
ILIAS\UI\Component\Menu
Definition:
Drilldown.php:21
ComponentHelper
components
ILIAS
UI
src
Implementation
Component
Menu
Menu.php
Generated on Thu Apr 10 2025 23:04:22 for ILIAS by
1.8.13 (using
Doxyfile
)