ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
confirmation.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\MessageBox\Confirmation
;
22
33
function
confirmation
()
34
{
35
global
$DIC
;
36
$f
= $DIC->ui()->factory();
37
$renderer
= $DIC->ui()->renderer();
38
39
$buttons = [
$f
->button()->standard(
"Confirm"
,
"#"
),
$f
->button()->standard(
"Cancel"
,
"#"
)];
40
41
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));
42
}
$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:33
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\MessageBox\Confirmation
Definition:
confirmation.php:21
components
ILIAS
UI
src
examples
MessageBox
Confirmation
confirmation.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)