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