ILIAS
release_8 Revision v8.24
◀ 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
7
function
std_icons
()
8
{
9
global
$DIC
;
10
$f
=
$DIC
->ui()->factory();
11
$renderer =
$DIC
->ui()->renderer();
12
$lng
=
$DIC
->language();
13
14
$i
=
$f
->symbol()->icon()->standard(
'NONE'
,
'DummyIcon'
);
15
$default_icons =
$i
->getAllStandardHandles();
16
$buffer = array();
17
18
foreach
($default_icons as $icon) {
19
$i
=
$f
->symbol()->icon()->standard($icon, $icon,
'medium'
);
20
$buffer[] = $renderer->render(
$i
)
21
.
' '
22
. $icon
23
.
' - '
24
.
$lng
->txt(
"obj_$icon"
);
25
}
26
27
return
implode(
'<br><br>'
, $buffer);
28
}
$DIC
global $DIC
Definition:
feed.php:28
$i
$i
Definition:
metadata.php:41
ILIAS\UI\Examples\Symbol\Icon\Standard
Definition:
disabled_icon.php:5
ILIAS\UI\Examples\Symbol\Icon\Standard\std_icons
std_icons()
Definition:
std_icons.php:7
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$lng
$lng
Definition:
save_question_post_data.php:24
src
UI
examples
Symbol
Icon
Standard
std_icons.php
Generated on Sun Nov 2 2025 22:02:03 for ILIAS by
1.9.4 (using
Doxyfile
)