ILIAS  trunk Revision v11.0_alpha-1851-ga8564da6fed
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
sortation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
29 function sortation()
30 {
31  global $DIC;
32  $f = $DIC->ui()->factory();
33  $renderer = $DIC->ui()->renderer();
34 
35  $glyph = $f->symbol()->glyph()->sortation("#");
36 
37  //Showcase the various states of this Glyph
38  $list = $f->listing()->descriptive([
39  "Active" => $glyph,
40  "Inactive" => $glyph->withUnavailableAction(),
41  "Highlighted" => $glyph->withHighlight()
42  ]);
43 
44  return $renderer->render($list);
45 }
$renderer
global $DIC
Definition: shib_login.php:22
sortation()
expected output: > ILIAS shows the rendered Component.
Definition: sortation.php:29