ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
base.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
32function 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
global $DIC
Definition: shib_login.php:26
$message
Definition: xapiexit.php:31