ILIAS  release_8 Revision v8.24
apply.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7function apply()
8{
9 global $DIC;
10 $f = $DIC->ui()->factory();
11 $renderer = $DIC->ui()->renderer();
12 $glyph = $f->symbol()->glyph()->apply("#");
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: feed.php:28