ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 5 of file base.php.

6{
7 global $DIC;
8 $f = $DIC->ui()->factory();
9 $renderer = $DIC->ui()->renderer();
10
11 $target = new \ILIAS\Data\URI("https://ilias.de");
12
13 $ico = $f->symbol()->icon()
14 ->standard('someExample', 'Example')
15 ->withAbbreviation('E')
16 ->withSize('medium');
17 $link = $f->link()->bulky($ico, 'Link to ilias.de with Icon', $target);
18
19 $glyph = $f->symbol()->glyph()->briefcase();
20 $link2 = $f->link()->bulky($glyph, 'Link to ilias.de with Glyph', $target);
21
22 return $renderer->render([
23 $link,
24 $f->divider()->horizontal(),
25 $link2,
26 ]);
27}
$DIC
Definition: xapitoken.php:46

References $DIC, and Vendor\Package\$f.