ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
info.php
Go to the documentation of this file.
1<?php
2function info()
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 $links = [
11 $f->link()->standard("Open Exercise Assignment", "#"),
12 $f->link()->standard("Open other screen", "#")
13 ];
14
15 return $renderer->render($f->messageBox()->info("Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.")
16 ->withButtons($buttons)
17 ->withLinks($links));
18}
An exception for terminatinating execution or to throw for unit testing.
info()
Definition: info.php:2
$DIC
Definition: xapitoken.php:46