ILIAS
release_8 Revision v8.23
◀ 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
7
function
base
()
8
{
9
global
$DIC
;
10
$factory
= $DIC->ui()->factory();
11
$renderer = $DIC->ui()->renderer();
12
$message
=
'Are you sure you want to delete the following items?'
;
13
$form_action = $DIC->ctrl()->getFormActionByClass(
'ilsystemstyledocumentationgui'
);
14
$modal =
$factory
->modal()->interruptive(
'My Title'
,
$message
, $form_action);
15
16
// Note: This modal is just rendered in the DOM but not displayed
17
// because its show/close signals are not triggered by any components
18
return
$renderer->render($modal);
19
}
ILIAS\UI\examples\Modal\Interruptive\base
base()
Definition:
base.php:7
ILIAS\UI\examples\Modal\Interruptive
Definition:
base.php:5
$DIC
global $DIC
Definition:
feed.php:28
$message
$message
Definition:
xapiexit.php:32
$factory
$factory
Definition:
metadata.php:75
src
UI
examples
Modal
Interruptive
base.php
Generated on Mon Sep 1 2025 22:03:00 for ILIAS by
1.8.13 (using
Doxyfile
)