ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
simple.php
Go to the documentation of this file.
1
<?php
2
3
use
ILIAS\Data\URI
;
4
5
function
simple
()
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
$systemInfo =
$f
->mainControls()
17
->systemInfo(
'This is an neutral Message!'
,
'read it, understand it, dismiss it...'
)
18
->withDismissAction(
new
URI
(
$_SERVER
[
'HTTP_REFERER'
]));
19
20
return
$renderer->render([$systemInfo]);
21
}
simple
simple()
Definition:
simple.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:10
$DIC
global $DIC
Definition:
goto.php:24
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:17
URI
src
UI
examples
MainControls
SystemInfo
simple.php
Generated on Wed Sep 3 2025 21:01:46 for ILIAS by
1.8.13 (using
Doxyfile
)