Go to the source code of this file.
◆ std_icons()
Definition at line 2 of file std_icons.php.
3{
6 $renderer =
$DIC->ui()->renderer();
8
9 $i =
$f->symbol()->icon()->standard(
'NONE',
'DummyIcon');
10 $default_icons =
$i->getAllStandardHandles();
11 $buffer = array();
12
13 foreach ($default_icons as $icon) {
14 $i =
$f->symbol()->icon()->standard($icon, $icon,
'medium');
15 $buffer[] = $renderer->render(
$i)
16 . ' '
17 . $icon
18 . ' - '
19 .
$lng->txt(
"obj_$icon");
20 }
21
22 return implode('<br><br>', $buffer);
23}
References $DIC, Vendor\Package\$f, $i, and $lng.