ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
simple.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\MainControls\SystemInfo
;
6
7
use
ILIAS\Data\URI
;
8
21
function
simple
()
22
{
23
//
24
//
25
26
global
$DIC
;
27
$f
= $DIC->ui()->factory();
28
$renderer
= $DIC->ui()->renderer();
29
30
$dismiss_action = isset(
$_SERVER
[
'HTTP_REFERER'
]) ?
$_SERVER
[
'HTTP_REFERER'
] :
"http://localhost"
;
31
$systemInfo =
$f
->mainControls()
32
->systemInfo(
'This is an neutral Message!'
,
'read it, understand it, dismiss it...'
)
33
->withDismissAction(
new
URI
($dismiss_action));
34
35
return
$renderer
->render([$systemInfo]);
36
}
ILIAS\UI\examples\MainControls\SystemInfo\simple
simple()
description: > This example show how the UI-Elements itself looks like.
Definition:
simple.php:21
$renderer
$renderer
Definition:
build_bootstrap.php:83
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$_SERVER
$_SERVER['HTTP_HOST']
Definition:
raiseError.php:10
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\Data\URI
The scope of this class is split ilias-conform URI's into components.
Definition:
URI.php:34
ILIAS\Data\URI
ILIAS\UI\examples\MainControls\SystemInfo
Definition:
long_text.php:5
components
ILIAS
UI
src
examples
MainControls
SystemInfo
simple.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)