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