ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
attachment.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Symbol\Glyph\Attachment
;
6
7
function
attachment
()
8
{
9
global
$DIC
;
10
$f
= $DIC->ui()->factory();
11
$renderer = $DIC->ui()->renderer();
12
13
$glyph =
$f
->symbol()->glyph()->attachment(
"#"
);
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
}
ILIAS\UI\examples\Symbol\Glyph\Attachment\attachment
attachment()
Definition:
attachment.php:7
ILIAS\UI\examples\Symbol\Glyph\Attachment
Definition:
attachment.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Symbol
Glyph
Attachment
attachment.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)