ILIAS
release_8 Revision v8.23
◀ 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
7
function
collapsehorizontal
()
8
{
9
global
$DIC
;
10
$f
= $DIC->ui()->factory();
11
$renderer = $DIC->ui()->renderer();
12
13
$glyph =
$f
->symbol()->glyph()->collapseHorizontal(
"#"
);
14
15
//Showcase the various states of this Glyph
16
$list =
$f
->listing()->descriptive([
17
"Active"
=> $glyph,
18
"Inactive"
=> $glyph->withUnavailableAction(),
19
"Highlighted"
=> $glyph->withHighlight()
20
]);
21
22
return
$renderer->render($list);
23
}
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Symbol\Glyph\CollapseHorizontal\collapsehorizontal
collapsehorizontal()
Definition:
collapsehorizontal.php:7
ILIAS\UI\examples\Symbol\Glyph\CollapseHorizontal
Definition:
collapsehorizontal.php:5
src
UI
examples
Symbol
Glyph
CollapseHorizontal
collapsehorizontal.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)