ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
apply.php File Reference

Go to the source code of this file.

Functions

 apply ()
 

Function Documentation

◆ apply()

apply ( )

Definition at line 2 of file apply.php.

References $DIC, and Vendor\Package\$f.

Referenced by StandardFilterTest\test_render_activated_collapsed(), StandardFilterTest\test_render_activated_expanded(), StandardFilterTest\test_render_deactivated_collapsed(), and StandardFilterTest\test_render_deactivated_expanded().

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 }
$DIC
Definition: xapitoken.php:46
+ Here is the caller graph for this function: