ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
apply.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Symbol\Glyph\Apply
;
6
7
function
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
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Symbol\Glyph\Apply
Definition:
apply.php:5
ILIAS\UI\examples\Symbol\Glyph\Apply\apply
apply()
Definition:
apply.php:7
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Symbol
Glyph
Apply
apply.php
Generated on Sun Nov 2 2025 22:02:03 for ILIAS by
1.9.4 (using
Doxyfile
)