ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
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
}
ILIAS\UI\examples\Symbol\Glyph\Apply\apply
apply()
description: > Example for rendring a apply glyph.
Definition:
apply.php:25
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Symbol\Glyph\Apply
Definition:
apply.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Symbol
Glyph
Apply
apply.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)