ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
settings.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
7 function settings()
8 {
9  global $DIC;
10  $f = $DIC->ui()->factory();
11  $renderer = $DIC->ui()->renderer();
12 
13  $glyph = $f->symbol()->glyph()->settings("#");
14 
15  //Showcase the various states of this Glyph
16  $list = $f->listing()->descriptive([
17  "Active" => $glyph,
18  "Inactive" => $glyph->withUnavailableAction(),
19  "Highlighted" => $glyph->withHighlight()
20  ]);
21 
22  return $renderer->render($list);
23 }
global $DIC
Definition: feed.php:28