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
LSLocatorBuilder.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\KioskMode\LocatorBuilder
;
22
use
ILIAS\KioskMode\ControlBuilder
;
23
24
class
LSLocatorBuilder
implements
LocatorBuilder
25
{
29
protected
array
$items
;
30
31
protected
string
$command
;
32
protected
ControlBuilder
$control_builder
;
33
34
public
function
__construct
(
string
$command,
ControlBuilder
$control_builder)
35
{
36
$this->command =
$command
;
37
$this->control_builder =
$control_builder
;
38
}
39
43
public
function
getItems
(): array
44
{
45
return
$this->items
;
46
}
47
51
public
function
end
():
ControlBuilder
52
{
53
return
$this->control_builder
;
54
}
55
59
public
function
item
(
string
$label,
int
$parameter):
LocatorBuilder
60
{
61
$this->items[] = [
62
'label'
=> $label,
63
'command'
=>
$this->command
,
64
'parameter'
=> $parameter
65
];
66
return
$this;
67
}
68
}
LSLocatorBuilder
Definition:
LSLocatorBuilder.php:24
LSLocatorBuilder\$command
string $command
Definition:
LSLocatorBuilder.php:31
LSLocatorBuilder\item
item(string $label, int $parameter)
Build an entry in the locator.The parameter will be appended to the command when updating state...
Definition:
LSLocatorBuilder.php:59
LocatorBuilder
ControlBuilder
LSLocatorBuilder\$items
array $items
Definition:
LSLocatorBuilder.php:29
LSLocatorBuilder\getItems
getItems()
Definition:
LSLocatorBuilder.php:43
LSLocatorBuilder\$control_builder
ControlBuilder $control_builder
Definition:
LSLocatorBuilder.php:32
LSLocatorBuilder\end
end()
Finish building the locator.
Definition:
LSLocatorBuilder.php:51
ILIAS\KioskMode\ControlBuilder
Build controls for the view.
Definition:
ControlBuilder.php:28
ILIAS\KioskMode\LocatorBuilder
Build a locator for the view.
Definition:
LocatorBuilder.php:31
LSLocatorBuilder\__construct
__construct(string $command, ControlBuilder $control_builder)
Definition:
LSLocatorBuilder.php:34
components
ILIAS
LearningSequence
classes
Player
LSLocatorBuilder.php
Generated on Thu Apr 10 2025 23:03:28 for ILIAS by
1.8.13 (using
Doxyfile
)