ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
multiple.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
36 function multiple()
37 {
38  global $DIC;
39  $f = $DIC->ui()->factory();
40  $renderer = $DIC->ui()->renderer();
41 
42  $first = $f->mainControls()
43  ->systemInfo('This is the first Message!', 'content of the first message...')
44  ->withDenotation(SystemInfo::DENOTATION_BREAKING);
45  $second = $f->mainControls()
46  ->systemInfo('This is the second Message!', 'content of the second message...')
47  ->withDenotation(SystemInfo::DENOTATION_IMPORTANT);
48  $third = $f->mainControls()
49  ->systemInfo('This is the third Message!', 'content of the third message...');
50 
51  return $renderer->render([$first, $second, $third]);
52 }
$renderer
multiple()
description: > This example show how the UI-Elements itself looks like.
Definition: multiple.php:36
global $DIC
Definition: shib_login.php:22