ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
std_icons.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\Examples\Symbol\Icon\Standard
;
6
17
function
std_icons
()
18
{
19
global
$DIC
;
20
$f
= $DIC->ui()->factory();
21
$renderer
= $DIC->ui()->renderer();
22
$lng
= $DIC->language();
23
24
$i =
$f
->symbol()->icon()->standard(
'NONE'
,
'DummyIcon'
);
25
$default_icons = $i->getAllStandardHandles();
26
$buffer = array();
27
28
foreach
($default_icons as $icon) {
29
$i =
$f
->symbol()->icon()->standard($icon, $icon,
'medium'
);
30
$buffer[] =
$renderer
->render($i)
31
.
' '
32
. $icon
33
.
' - '
34
.
$lng
->txt(
"obj_$icon"
);
35
}
36
37
return
implode(
'<br><br>'
, $buffer);
38
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\Examples\Symbol\Icon\Standard
Definition:
disabled_icon.php:5
ILIAS\UI\Examples\Symbol\Icon\Standard\std_icons
std_icons()
description: > Example for rendering standard icons.
Definition:
std_icons.php:17
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
$lng
global $lng
Definition:
privfeed.php:32
components
ILIAS
UI
src
examples
Symbol
Icon
Standard
std_icons.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)