ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
apply.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Symbol\Glyph\Apply
;
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
}
ILIAS\UI\examples\Symbol\Glyph\Apply\apply
apply()
description: > Example for rendring a apply glyph.
Definition:
apply.php:41
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Symbol\Glyph\Apply
Definition:
apply.php:21
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Symbol
Glyph
Apply
apply.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)