ILIAS  release_7 Revision v7.30-3-g800a261c036
success.php
Go to the documentation of this file.
1<?php
2function success()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $buttons = [$f->button()->standard("Action", "#"), $f->button()->standard("Cancel", "#")];
9
10 return $renderer->render($f->messageBox()->success("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}
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: goto.php:24
success()
Definition: success.php:2