ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
italic.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29function italic()
30{
31 global $DIC;
32
33 $factory = $DIC->ui()->factory();
34 $renderer = $DIC->ui()->renderer();
35
36 $glyph = $factory->symbol()->glyph()->italic("#");
37
38 // showcase the various states of this Glyph
39 $list = $factory->listing()->descriptive([
40 "Active" => $glyph,
41 "Inactive" => $glyph->withUnavailableAction(),
42 "Highlighted" => $glyph->withHighlight()
43 ]);
44
45 return $renderer->render($list);
46}
$renderer
global $DIC
Definition: shib_login.php:26