ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
info.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\MessageBox\Info
;
6
7
function
info
()
8
{
9
global
$DIC
;
10
$f
= $DIC->ui()->factory();
11
$renderer = $DIC->ui()->renderer();
12
13
$buttons = [
$f
->button()->standard(
"Action"
,
"#"
),
$f
->button()->standard(
"Cancel"
,
"#"
)];
14
15
$links = [
16
$f
->link()->standard(
"Open Exercise Assignment"
,
"#"
),
17
$f
->link()->standard(
"Open other screen"
,
"#"
)
18
];
19
20
return
$renderer->render(
$f
->messageBox()->info(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
)
21
->withButtons($buttons)
22
->withLinks($links));
23
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\MessageBox\Info\info
info()
Definition:
info.php:7
ILIAS\UI\examples\MessageBox\Info
Definition:
info.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
MessageBox
Info
info.php
Generated on Sun Aug 31 2025 22:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)