ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
confirmation.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\MessageBox\Confirmation
;
6
17
function
confirmation
()
18
{
19
global
$DIC
;
20
$f
= $DIC->ui()->factory();
21
$renderer
= $DIC->ui()->renderer();
22
23
$buttons = [
$f
->button()->standard(
"Confirm"
,
"#"
),
$f
->button()->standard(
"Cancel"
,
"#"
)];
24
25
return
$renderer
->render(
$f
->messageBox()->confirmation(
"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));
26
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\MessageBox\Confirmation\confirmation
confirmation()
description: > Example for rendering a confirmation message box.
Definition:
confirmation.php:17
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\MessageBox\Confirmation
Definition:
confirmation.php:5
components
ILIAS
UI
src
examples
MessageBox
Confirmation
confirmation.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)