ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
collapse.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Symbol\Glyph\Collapse
;
22
43
function
collapse
()
44
{
45
global
$DIC
;
46
$f
= $DIC->ui()->factory();
47
$renderer
= $DIC->ui()->renderer();
48
49
$glyph =
$f
->symbol()->glyph()->collapse(
"#"
);
50
51
//Showcase the various states of this Glyph
52
$list =
$f
->listing()->descriptive([
53
"Active"
=> $glyph,
54
"Inactive"
=> $glyph->withUnavailableAction(),
55
"Highlighted"
=> $glyph->withHighlight()
56
]);
57
58
return
$renderer
->render($list);
59
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Symbol\Glyph\Collapse\collapse
collapse()
description: > Example for rendering a collapse glyph.
Definition:
collapse.php:43
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Symbol\Glyph\Collapse
Definition:
collapse.php:21
components
ILIAS
UI
src
examples
Symbol
Glyph
Collapse
collapse.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)