ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
sort_descending.php
Go to the documentation of this file.
1 <?php
6 function sort_descending()
7 {
8  global $DIC;
9  $f = $DIC->ui()->factory();
10  $renderer = $DIC->ui()->renderer();
11 
12  $glyph = $f->symbol()->glyph()->sortDescending("#");
13 
14  //Showcase the various states of this Glyph
15  $list = $f->listing()->descriptive([
16  "Active" => $glyph,
17  "Inactive" => $glyph->withUnavailableAction(),
18  "Highlighted" => $glyph->withHighlight()
19  ]);
20 
21  return $renderer->render($list);
22 }
sort_descending()
Note that this example does not provide any functionality, it just shows, how this Glyph can be rende...
$DIC
Definition: xapitoken.php:46