ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
modeinfo.php
Go to the documentation of this file.
1
<?
php
2
3
use
ILIAS\Data\URI
;
4
5
function
modeinfo
()
6
{
7
//
8
// This example show how the UI-Elements itself looks like. For a full
9
// example use the example of the UI-Component Layout\Page\Standard.
10
//
11
12
global
$DIC
;
13
$f
=
$DIC
->ui()->factory();
14
$renderer =
$DIC
->ui()->renderer();
15
16
return
$renderer->render(
$f
->mainControls()->modeInfo(
'a small step for a man'
,
new
URI
(
'http://a_giant_leap_for_mankind_meaning'
)));
17
}
php
An exception for terminatinating execution or to throw for unit testing.
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:18
modeinfo
modeinfo()
Definition:
modeinfo.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
$DIC
$DIC
Definition:
xapitoken.php:46
src
UI
examples
MainControls
ModeInfo
modeinfo.php
Generated on Sat Oct 4 2025 20:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)