ILIAS  release_8 Revision v8.23
info.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function info()
8 {
9  global $DIC;
10  $f = $DIC->ui()->factory();
11  $renderer = $DIC->ui()->renderer();
12 
13  $buttons = [$f->button()->standard("Action", "#"), $f->button()->standard("Cancel", "#")];
14 
15  $links = [
16  $f->link()->standard("Open Exercise Assignment", "#"),
17  $f->link()->standard("Open other screen", "#")
18  ];
19 
20  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.")
21  ->withButtons($buttons)
22  ->withLinks($links));
23 }
global $DIC
Definition: feed.php:28