ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
base.php
Go to the documentation of this file.
1<?php
2function base()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $ico = $f->icon()
9 ->standard('someExample', 'Example')
10 ->withAbbreviation('E')
11 ->withSize('medium');
12 $button = $f->button()->bulky($ico, 'Icon', '#');
13
14 $glyph = $f->glyph()->briefcase();
15 $button2 = $f->button()->bulky($glyph, 'Glyph', '#');
16
17 return $renderer->render([
18 $button,
19 $button->withEngagedState(true),
20 $f->divider()->horizontal(),
21 $button2,
22 $button2->withEngagedState(true),
23 ]);
24}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: saml.php:7