ILIAS  release_8 Revision v8.24
base.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7//Note the exact look of the Bulky Buttons is mostly defined by the
8//surrounding container.
9function base()
10{
11 global $DIC;
12 $f = $DIC->ui()->factory();
13 $renderer = $DIC->ui()->renderer();
14
15 $ico = $f->symbol()->icon()
16 ->standard('someExample', 'Example')
17 ->withAbbreviation('E')
18 ->withSize('medium');
19 $button = $f->button()->bulky($ico, 'Icon', '#');
20
21 $glyph = $f->symbol()->glyph()->briefcase();
22 $button2 = $f->button()->bulky($glyph, 'Glyph', '#');
23
24 return $renderer->render([
25 $button,
26 $f->divider()->horizontal(),
27 $button2
28 ]);
29}
global $DIC
Definition: feed.php:28