ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Build controls for the view. More...
Public Member Functions | |
exit (string $command) | |
An exit control allows the user to gracefully leave the object providing the kiosk mode. More... | |
next (string $command, int $parameter=null) | |
A next control allows the user to progress to the next item in the object. More... | |
previous (string $command, int $parameter=null) | |
A previous control allows the user to go back to the previous item in the object. More... | |
done (string $command, int $parameter=null) | |
A done control allows the user to mark the object as done. More... | |
generic (string $label, string $command, int $parameter=null) | |
A generic control needs to have a label that tells what it does. More... | |
toggle (string $label, string $on_command, string $off_command) | |
A toggle can be used to switch some behaviour in the view on or of. More... | |
mode (string $command, array $labels) | |
A mode control can be used to switch between different modes in the view. More... | |
locator (string $command) | |
A locator allows the user to see the path leading to her current location and jump back to previous items on that path. More... | |
tableOfContent (string $label, string $command, int $parameter=null, $state=null) | |
A table of content allows the user to get an overview over the generally available content in the object. More... | |
Build controls for the view.
Definition at line 11 of file ControlBuilder.php.
ILIAS\KioskMode\ControlBuilder::done | ( | string | $command, |
int | $parameter = null |
||
) |
A done control allows the user to mark the object as done.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
Implemented in LSControlBuilder.
ILIAS\KioskMode\ControlBuilder::exit | ( | string | $command | ) |
An exit control allows the user to gracefully leave the object providing the kiosk mode.
Implemented in LSControlBuilder.
ILIAS\KioskMode\ControlBuilder::generic | ( | string | $label, |
string | $command, | ||
int | $parameter = null |
||
) |
A generic control needs to have a label that tells what it does.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
Implemented in LSControlBuilder.
Referenced by ilContentPageKioskModeView\builtLearningProgressToggleControl().
ILIAS\KioskMode\ControlBuilder::locator | ( | string | $command | ) |
A locator allows the user to see the path leading to her current location and jump back to previous items on that path.
The command will be enhanced with a parameter defined in the locator builder.
Implemented in LSControlBuilder.
ILIAS\KioskMode\ControlBuilder::mode | ( | string | $command, |
array | $labels | ||
) |
A mode control can be used to switch between different modes in the view.
Uses the indizes of the labels in the array as parameter for the command.
Implemented in LSControlBuilder.
Referenced by LSControlBuilder\mode().
ILIAS\KioskMode\ControlBuilder::next | ( | string | $command, |
int | $parameter = null |
||
) |
A next control allows the user to progress to the next item in the object.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
Implemented in LSControlBuilder.
ILIAS\KioskMode\ControlBuilder::previous | ( | string | $command, |
int | $parameter = null |
||
) |
A previous control allows the user to go back to the previous item in the object.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
Implemented in LSControlBuilder.
ILIAS\KioskMode\ControlBuilder::tableOfContent | ( | string | $label, |
string | $command, | ||
int | $parameter = null , |
||
$state = null |
|||
) |
A table of content allows the user to get an overview over the generally available content in the object.
The command will be enhanced with a parameter defined here on in the locator builder.
If a parameter is defined here, the view provides an overview-page.
Implemented in LSControlBuilder.
Referenced by ilLegacyKioskModeView\debugBuildAllControls().
ILIAS\KioskMode\ControlBuilder::toggle | ( | string | $label, |
string | $on_command, | ||
string | $off_command | ||
) |
A toggle can be used to switch some behaviour in the view on or of.
Implemented in LSControlBuilder.