ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
5
6use ILIAS\UI;
7
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
93 public function tableOfContent(string $label, string $command, int $parameter = null, $state = null) : TOCBuilder;
94}
An exception for terminatinating execution or to throw for unit testing.
Build controls for the view.
toggle(string $label, string $on_command, string $off_command)
A toggle can be used to switch some behaviour in the view on or of.
done(string $command, int $parameter=null)
A done control allows the user to mark the object as done.
mode(string $command, array $labels)
A mode control can be used to switch between different modes in 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...
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.
previous(string $command, int $parameter=null)
A previous control allows the user to go back to the previous item in the object.
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 locator for the view.
Build a nested table of contents for the view.
Definition: TOCBuilder.php:12