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