ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
sort_ascending.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
11 function sort_ascending()
12 {
13  global $DIC;
14  $f = $DIC->ui()->factory();
15  $renderer = $DIC->ui()->renderer();
16 
17  $glyph = $f->symbol()->glyph()->sortAscending("#");
18 
19  //Showcase the various states of this Glyph
20  $list = $f->listing()->descriptive([
21  "Active" => $glyph,
22  "Inactive" => $glyph->withUnavailableAction(),
23  "Highlighted" => $glyph->withHighlight()
24  ]);
25 
26  return $renderer->render($list);
27 }
global $DIC
Definition: feed.php:28
sort_ascending()
Note that this example does not provide any functionality, it just shows, how this Glyph can be rende...