ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
modeinfo.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\MainControls\ModeInfo
;
6
7
use
ILIAS\Data\URI
;
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
}
ILIAS\UI\examples\MainControls\ModeInfo\modeinfo
modeinfo()
Definition:
modeinfo.php:9
ILIAS\UI\examples\MainControls\ModeInfo
Definition:
modeinfo.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
URI
src
UI
examples
MainControls
ModeInfo
modeinfo.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)