ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
confirmation.php File Reference

Go to the source code of this file.

Functions

 confirmation ()
 

Function Documentation

◆ confirmation()

confirmation ( )

Definition at line 2 of file confirmation.php.

References $DIC, and $f.

3 {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7 
8  $buttons = [$f->button()->standard("Confirm", "#"), $f->button()->standard("Cancel", "#")];
9 
10  return $renderer->render($f->messageBox()->confirmation("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.")->withButtons($buttons));
11 }
global $DIC
Definition: saml.php:7