ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
header.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function header()
8 {
9  global $DIC;
10 
11  $factory = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13 
14  $glyph = $factory->symbol()->glyph()->header("#");
15 
16  // showcase the various states of this Glyph
17  $list = $factory->listing()->descriptive([
18  "Active" => $glyph,
19  "Inactive" => $glyph->withUnavailableAction(),
20  "Highlighted" => $glyph->withHighlight()
21  ]);
22 
23  return $renderer->render($list);
24 }
global $DIC
Definition: feed.php:28