ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
multiple.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
36function 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
global $DIC
Definition: shib_login.php:26