ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
close.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Symbol\Glyph\Close
;
6
25
function
close
()
26
{
27
global
$DIC
;
28
$f
= $DIC->ui()->factory();
29
$renderer
= $DIC->ui()->renderer();
30
31
$glyph =
$f
->symbol()->glyph()->close(
"#"
);
32
33
//Showcase the various states of this Glyph
34
$list =
$f
->listing()->descriptive([
35
"Active"
=> $glyph,
36
"Inactive"
=> $glyph->withUnavailableAction(),
37
"Highlighted"
=> $glyph->withHighlight()
38
]);
39
40
return
$renderer
->render($list);
41
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Symbol\Glyph\Close
Definition:
close.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Symbol\Glyph\Close\close
close()
description: > Example for rendring a close glyph.
Definition:
close.php:25
components
ILIAS
UI
src
examples
Symbol
Glyph
Close
close.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)