ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
modeinfo.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
8 
9 function 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 }
global $DIC
Definition: feed.php:28
The scope of this class is split ilias-conform URI&#39;s into components.
Definition: URI.php:34