ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
multiple.php
Go to the documentation of this file.
1 <?php
2 
4 
5 function multiple()
6 {
7  //
8  // This example show how the UI-Elements itself looks like. For a full
9  // example use the example of the UI-Component Layout\Page\Standard.
10  //
11 
12  global $DIC;
13  $f = $DIC->ui()->factory();
14  $renderer = $DIC->ui()->renderer();
15 
16  $first = $f->mainControls()
17  ->systemInfo('This is the first Message!', 'content of the first message...')
18  ->withDenotation(SystemInfo::DENOTATION_BREAKING);
19  $second = $f->mainControls()
20  ->systemInfo('This is the second Message!', 'content of the second message...')
21  ->withDenotation(SystemInfo::DENOTATION_IMPORTANT);
22  $third = $f->mainControls()
23  ->systemInfo('This is the third Message!', 'content of the third message...');
24 
25  return $renderer->render([$first, $second, $third]);
26 }
global $DIC
Definition: goto.php:24
multiple()
Definition: multiple.php:5