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
4namespace ILIAS\KioskMode;
5
6use ILIAS\UI;
7
11interface 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}
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
An exception for terminatinating execution or to throw for unit testing.
Build a nested table of contents for the view.
Definition: TOCBuilder.php:12
item(string $label, int $parameter, $state=null)
Build an entry in the TOC.
node($label, int $parameter=null, $lp=null)
Build a sub tree in the TOC.
end()
Finish building the TOC.