ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
sort_ascending.php File Reference

Go to the source code of this file.

Functions

 sort_ascending ()
 Note that this example does not provide any functionality, it just shows, how this Glyph can be rendered. More...
 

Function Documentation

◆ sort_ascending()

sort_ascending ( )

Note that this example does not provide any functionality, it just shows, how this Glyph can be rendered.

The functionality needs to be provided by some surrounding component (e.g. Table)

Definition at line 6 of file sort_ascending.php.

References $DIC, and Vendor\Package\$f.

7 {
8  global $DIC;
9  $f = $DIC->ui()->factory();
10  $renderer = $DIC->ui()->renderer();
11 
12  $glyph = $f->symbol()->glyph()->sortAscending("#");
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 }
global $DIC
Definition: goto.php:24