ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
apply.php
Go to the documentation of this file.
1<?php
2function apply()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7 $glyph = $f->symbol()->glyph()->apply("#");
8
9 //Showcase the various states of this Glyph
10 $list = $f->listing()->descriptive([
11 "Active" => $glyph,
12 "Inactive" => $glyph->withUnavailableAction(),
13 "Highlighted" => $glyph->withHighlight()
14 ]);
15
16 return $renderer->render($list);
17}
apply()
Definition: apply.php:2
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46