ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ControlBuilder.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2018 - Richard Klees <richard.klees@concepts-and-training.de> - Extended GPL, see LICENSE */
3 
4 namespace ILIAS\KioskMode;
5 
6 use ILIAS\UI;
7 
11 interface ControlBuilder
12 {
19  public function exit(string $command) : ControlBuilder;
20 
29  public function next(string $command, int $parameter = null) : ControlBuilder;
30 
39  public function previous(string $command, int $parameter = null) : ControlBuilder;
40 
49  public function done(string $command, int $parameter = null) : ControlBuilder;
50 
57  public function generic(string $label, string $command, int $parameter = null) : ControlBuilder;
58 
62  public function toggle(string $label, string $on_command, string $off_command) : ControlBuilder;
63 
69  public function mode(string $command, array $labels) : ControlBuilder;
70 
79  public function locator(string $command) : LocatorBuilder;
80 
92  public function tableOfContent(string $label, string $command, int $parameter = null, $state = null) : TOCBuilder;
93 }
done(string $command, int $parameter=null)
A done control allows the user to mark the object as done.
exit(string $command)
An exit control allows the user to gracefully leave the object providing the kiosk mode...
next(string $command, int $parameter=null)
A next control allows the user to progress to the next item in the object.
toggle(string $label, string $on_command, string $off_command)
A toggle can be used to switch some behaviour in the view on or of.
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 obj...
Build a nested table of contents for the view.
Definition: TOCBuilder.php:11
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
mode(string $command, array $labels)
A mode control can be used to switch between different modes in the view.
previous(string $command, int $parameter=null)
A previous control allows the user to go back to the previous item in the object. ...
Build controls for the view.
Build a locator for the view.
locator(string $command)
A locator allows the user to see the path leading to her current location and jump back to previous i...