ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
LSLocatorBuilder.php
Go to the documentation of this file.
1
<?
php
2
3
declare(strict_types=1);
4
5
use
ILIAS\KioskMode\LocatorBuilder
;
6
use
ILIAS\KioskMode\ControlBuilder
;
7
11
class
LSLocatorBuilder
implements
LocatorBuilder
12
{
16
protected
$command
;
17
21
protected
$items
;
22
26
protected
$control_builder
;
27
28
public
function
__construct
(
string
$command
,
ControlBuilder
$control_builder
)
29
{
30
$this->command =
$command
;
31
$this->control_builder =
$control_builder
;
32
}
33
34
public
function
getItems
() : array
35
{
36
return
$this->items
;
37
}
38
42
public
function
end
() :
ControlBuilder
43
{
44
return
$this->control_builder
;
45
}
46
50
public
function
item
(
string
$label,
int
$parameter,
$state
= null) :
LocatorBuilder
51
{
52
$this->items[] = [
53
'label'
=> $label,
54
'command'
=>
$this->command
,
55
'parameter'
=> $parameter
56
];
57
return
$this;
58
}
59
}
LSLocatorBuilder
Class LSTOCBuilder.
Definition:
LSLocatorBuilder.php:11
LSLocatorBuilder\$items
$items
Definition:
LSLocatorBuilder.php:21
LSLocatorBuilder\$command
$command
Definition:
LSLocatorBuilder.php:16
LocatorBuilder
ControlBuilder
LSLocatorBuilder\getItems
getItems()
Definition:
LSLocatorBuilder.php:34
$state
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition:
linkback.php:10
LSLocatorBuilder\item
item(string $label, int $parameter, $state=null)
Definition:
LSLocatorBuilder.php:50
LSLocatorBuilder\end
end()
Finish building the locator.
Definition:
LSLocatorBuilder.php:42
ILIAS\KioskMode\ControlBuilder
Build controls for the view.
Definition:
ControlBuilder.php:11
php
ILIAS\KioskMode\LocatorBuilder
Build a locator for the view.
Definition:
LocatorBuilder.php:14
LSLocatorBuilder\$control_builder
$control_builder
Definition:
LSLocatorBuilder.php:26
LSLocatorBuilder\__construct
__construct(string $command, ControlBuilder $control_builder)
Definition:
LSLocatorBuilder.php:28
Modules
LearningSequence
classes
Player
LSLocatorBuilder.php
Generated on Thu Jan 16 2025 19:02:05 for ILIAS by
1.8.13 (using
Doxyfile
)