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