ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Build a nested table of contents for the view. More...
Public Member Functions | |
end () | |
Finish building the TOC. More... | |
node (string $label, ?int $parameter=null, ?int $lp=null) | |
Build a sub tree in the TOC. More... | |
item (string $label, int $parameter, $state=null, bool $current=false) | |
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 28 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 , |
|||
bool | $current = false |
||
) |
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 |
bool | $current | is this the currently active item? |
Implemented in LSTOCBuilder.
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 32 of file TOCBuilder.php.
Referenced by ilLMTOCExplorerGUI\renderLSTocNode().
const ILIAS\KioskMode\TOCBuilder::LP_FAILED = 3 |
Definition at line 33 of file TOCBuilder.php.
const ILIAS\KioskMode\TOCBuilder::LP_IN_PROGRESS = 1 |
Definition at line 31 of file TOCBuilder.php.
Referenced by ilLMTOCExplorerGUI\renderLSTocNode().
const ILIAS\KioskMode\TOCBuilder::LP_NOT_STARTED = 0 |
Definition at line 30 of file TOCBuilder.php.