ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
success.php
Go to the documentation of this file.
1
<?
php
2
function
success
()
3
{
4
global
$DIC
;
5
$f
=
$DIC
->ui()->factory();
6
$renderer =
$DIC
->ui()->renderer();
7
8
$buttons = [
$f
->button()->standard(
"Action"
,
"#"
),
$f
->button()->standard(
"Cancel"
,
"#"
)];
9
10
return
$renderer->render(
$f
->messageBox()->success(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
)->withButtons($buttons));
11
}
php
An exception for terminatinating execution or to throw for unit testing.
$DIC
global $DIC
Definition:
goto.php:24
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
success
success()
Definition:
success.php:2
src
UI
examples
MessageBox
Success
success.php
Generated on Fri Oct 3 2025 21:01:12 for ILIAS by
1.9.4 (using
Doxyfile
)