ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
info.php File Reference

Go to the source code of this file.

Functions

 info ()
 

Function Documentation

◆ info()

info ( )

Definition at line 2 of file info.php.

References $DIC, and Vendor\Package\$f.

Referenced by ilDatabaseUpdatedObjective\achieve(), ilCloudPluginInfoScreenGUI\getInfoScreen(), ilAdvancedMDRecordGUI\parseInfoPage(), ilRadioOption\setInfo(), ilNonEditableValueGUI\setInfo(), ilFormSectionHeaderGUI\setInfo(), ilADTFormBridge\setInfo(), ilFormPropertyGUI\setInfo(), ilDidacticTemplateSetting\setInfo(), and ilAdvancedMDRecordGUI\setInfoObject().

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 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: