ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Modal\Interruptive
;
6
16
function
base
()
17
{
18
global
$DIC
;
19
$factory = $DIC->ui()->factory();
20
$renderer
= $DIC->ui()->renderer();
21
$message =
'Are you sure you want to delete the following items?'
;
22
$form_action = $DIC->ctrl()->getFormActionByClass(
'ilsystemstyledocumentationgui'
);
23
$modal = $factory->modal()->interruptive(
'My Title'
, $message, $form_action);
24
25
// Note: This modal is just rendered in the DOM but not displayed
26
// because its show/close signals are not triggered by any components
27
return
$renderer
->render($modal);
28
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Modal\Interruptive\base
base()
description: > Example for rendering an interruptive modal.
Definition:
base.php:16
ILIAS\UI\examples\Modal\Interruptive
Definition:
base.php:5
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Modal
Interruptive
base.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)