ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 2 of file base.php.

References $DIC, $factory, and $message.

3 {
4  global $DIC;
5  $factory = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7  $message = 'Are you sure you want to delete the following items?';
8  $form_action = $DIC->ctrl()->getFormActionByClass('ilsystemstyledocumentationgui');
9  $modal = $factory->modal()->interruptive('My Title', $message, $form_action);
10 
11  // Note: This modal is just rendered in the DOM but not displayed
12  // because its show/close signals are not triggered by any components
13  return $renderer->render($modal);
14 }
global $DIC
Definition: saml.php:7
$factory
Definition: metadata.php:47
catch(Exception $e) $message