ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
apply.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
25 function apply()
26 {
27  global $DIC;
28  $f = $DIC->ui()->factory();
29  $renderer = $DIC->ui()->renderer();
30  $glyph = $f->symbol()->glyph()->apply("#");
31 
32  //Showcase the various states of this Glyph
33  $list = $f->listing()->descriptive([
34  "Active" => $glyph,
35  "Inactive" => $glyph->withUnavailableAction(),
36  "Highlighted" => $glyph->withHighlight()
37  ]);
38 
39  return $renderer->render($list);
40 }
apply()
description: > Example for rendring a apply glyph.
Definition: apply.php:25
$renderer
global $DIC
Definition: shib_login.php:25