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