ILIAS  release_7 Revision v7.30-3-g800a261c036
std_outlined_icons.php File Reference

Go to the source code of this file.

Functions

 std_outlined_icons ()
 

Function Documentation

◆ std_outlined_icons()

std_outlined_icons ( )

Definition at line 2 of file std_outlined_icons.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7 $lng = $DIC->language();
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')->withIsOutlined(true);
15 $buffer[] = $renderer->render($i)
16 . ' '
17 . $icon
18 . ' - '
19 . $lng->txt("obj_$icon");
20 }
21
22 return implode('<br><br>', $buffer);
23}
global $DIC
Definition: goto.php:24
$i
Definition: metadata.php:24
$lng

References $DIC, Vendor\Package\$f, $i, and $lng.