ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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.
$links
info()
Definition: info.php:2
global $DIC
Definition: saml.php:7