ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
base.php
Go to the documentation of this file.
1 <?php
2 //Note the exact look of the Bulky Buttons is mostly defined by the
3 //surrounding container.
4 function base()
5 {
6  global $DIC;
7  $f = $DIC->ui()->factory();
8  $renderer = $DIC->ui()->renderer();
9 
10  $ico = $f->symbol()->icon()
11  ->standard('someExample', 'Example')
12  ->withAbbreviation('E')
13  ->withSize('medium');
14  $button = $f->button()->bulky($ico, 'Icon', '#');
15 
16  $glyph = $f->symbol()->glyph()->briefcase();
17  $button2 = $f->button()->bulky($glyph, 'Glyph', '#');
18 
19  return $renderer->render([
20  $button,
21  $f->divider()->horizontal(),
22  $button2
23  ]);
24 }
base()
Definition: base.php:4
global $DIC
Definition: goto.php:24