ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
apply.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
41 function apply()
42 {
43  global $DIC;
44  $f = $DIC->ui()->factory();
45  $renderer = $DIC->ui()->renderer();
46  $glyph = $f->symbol()->glyph()->apply("#");
47 
48  //Showcase the various states of this Glyph
49  $list = $f->listing()->descriptive([
50  "Active" => $glyph,
51  "Inactive" => $glyph->withUnavailableAction(),
52  "Highlighted" => $glyph->withHighlight()
53  ]);
54 
55  return $renderer->render($list);
56 }
apply()
description: > Example for rendring a apply glyph.
Definition: apply.php:41
$renderer
global $DIC
Definition: shib_login.php:22