ILIAS  release_8 Revision v8.24
modeinfo.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
8
9function modeinfo()
10{
11 //
12 // This example show how the UI-Elements itself looks like. For a full
13 // example use the example of the UI-Component Layout\Page\Standard.
14 //
15
16 global $DIC;
17 $f = $DIC->ui()->factory();
18 $renderer = $DIC->ui()->renderer();
19
20 return $renderer->render($f->mainControls()->modeInfo('a small step for a man', new URI('http://a_giant_leap_for_mankind_meaning')));
21}
The scope of this class is split ilias-conform URI's into components.
Definition: URI.php:35
global $DIC
Definition: feed.php:28