ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Modal\Interruptive
;
22
32
function
base
()
33
{
34
global
$DIC
;
35
$factory =
$DIC
->ui()->factory();
36
$renderer
=
$DIC
->ui()->renderer();
37
$message
=
'Are you sure you want to delete the following items?'
;
38
$form_action =
$DIC
->ctrl()->getFormActionByClass(
'ilsystemstyledocumentationgui'
);
39
$modal = $factory->modal()->interruptive(
'My Title'
,
$message
, $form_action);
40
41
// Note: This modal is just rendered in the DOM but not displayed
42
// because its show/close signals are not triggered by any components
43
return
$renderer
->render($modal);
44
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Modal\Interruptive
Definition:
base.php:21
ILIAS\UI\examples\Modal\Interruptive\base
base()
Definition:
base.php:32
$DIC
global $DIC
Definition:
shib_login.php:26
$message
$message
Definition:
xapiexit.php:31
components
ILIAS
UI
src
examples
Modal
Interruptive
base.php
Generated on Sat Oct 18 2025 23:04:39 for ILIAS by
1.9.4 (using
Doxyfile
)