ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
TOCBuilder.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 TOCBuilder
12 {
13  const LP_NOT_STARTED = 0;
14  const LP_IN_PROGRESS = 1;
15  const LP_COMPLETED = 2;
16  const LP_FAILED = 3;
17 
23  public function end();
24 
35  public function node($label, int $parameter = null, $lp = null) : TOCBuilder;
36 
47  public function item(string $label, int $parameter, $state = null) : TOCBuilder;
48 }
node($label, int $parameter=null, $lp=null)
Build a sub tree in the TOC.
item(string $label, int $parameter, $state=null)
Build an entry in the TOC.
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
end()
Finish building the TOC.