ILIAS  release_8 Revision v8.24
TOCBuilder.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/* Copyright (c) 2018 - Richard Klees <richard.klees@concepts-and-training.de> - Extended GPL, see LICENSE */
6
7namespace ILIAS\KioskMode;
8
9use ILIAS\UI;
10
14interface TOCBuilder
15{
16 public const LP_NOT_STARTED = 0;
17 public const LP_IN_PROGRESS = 1;
18 public const LP_COMPLETED = 2;
19 public const LP_FAILED = 3;
20
26 public function end();
27
38 public function node(string $label, int $parameter = null, int $lp = null): TOCBuilder;
39
51 public function item(string $label, int $parameter, $state = null, bool $current = false): TOCBuilder;
52}
Build a nested table of contents for the view.
Definition: TOCBuilder.php:15
node(string $label, int $parameter=null, int $lp=null)
Build a sub tree in the TOC.
end()
Finish building the TOC.
item(string $label, int $parameter, $state=null, bool $current=false)
Build an entry in the TOC.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...