ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Build a nested table of contents for the view. More...
Public Member Functions | |
end () | |
Finish building the TOC. More... | |
node ($label, int $parameter=null, $lp=null) | |
Build a sub tree in the TOC. More... | |
item (string $label, int $parameter, $state=null) | |
Build an entry in the TOC. More... | |
Data Fields | |
const | LP_NOT_STARTED = 0 |
const | LP_IN_PROGRESS = 1 |
const | LP_COMPLETED = 2 |
const | LP_FAILED = 3 |
Build a nested table of contents for the view.
Definition at line 11 of file TOCBuilder.php.
ILIAS\KioskMode\TOCBuilder::end | ( | ) |
Finish building the TOC.
Implemented in LSTOCBuilder.
ILIAS\KioskMode\TOCBuilder::item | ( | string | $label, |
int | $parameter, | ||
$state = null |
|||
) |
Build an entry in the TOC.
The parameter will be appended to the command when updating the state.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
mixed | $state | one of the LP_ constants from TOCBuilder |
Implemented in LSTOCBuilder.
ILIAS\KioskMode\TOCBuilder::node | ( | $label, | |
int | $parameter = null , |
||
$lp = null |
|||
) |
Build a sub tree in the TOC.
If a parameter is provided, the node in the TOC can be accessed itself.
The $parameter can be used to pass additional information to View::updateGet if required, e.g. about a chapter in the content.
mixed | $state | one of the LP_ constants from TOCBuilder |
Implemented in LSTOCBuilder.
const ILIAS\KioskMode\TOCBuilder::LP_COMPLETED = 2 |
Definition at line 15 of file TOCBuilder.php.
const ILIAS\KioskMode\TOCBuilder::LP_FAILED = 3 |
Definition at line 16 of file TOCBuilder.php.
const ILIAS\KioskMode\TOCBuilder::LP_IN_PROGRESS = 1 |
Definition at line 14 of file TOCBuilder.php.
const ILIAS\KioskMode\TOCBuilder::LP_NOT_STARTED = 0 |
Definition at line 13 of file TOCBuilder.php.