ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
italic.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
13 function italic()
14 {
15  global $DIC;
16 
17  $factory = $DIC->ui()->factory();
18  $renderer = $DIC->ui()->renderer();
19 
20  $glyph = $factory->symbol()->glyph()->italic("#");
21 
22  // showcase the various states of this Glyph
23  $list = $factory->listing()->descriptive([
24  "Active" => $glyph,
25  "Inactive" => $glyph->withUnavailableAction(),
26  "Highlighted" => $glyph->withHighlight()
27  ]);
28 
29  return $renderer->render($list);
30 }
$renderer
global $DIC
Definition: shib_login.php:25
italic()
expected output: > ILIAS shows the rendered Component.
Definition: italic.php:13