ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
std_icons.php File Reference

Go to the source code of this file.

Functions

 std_icons ()
 

Function Documentation

◆ std_icons()

std_icons ( )

Definition at line 2 of file std_icons.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7 $lng = $DIC->language();
8
9 $i = $f->icon()->standard('NONE', 'DummyIcon');
10 $default_icons = $i->getAllStandardHandles();
11 $buffer = array();
12
13 foreach ($default_icons as $icon) {
14 $i = $f->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}
$i
Definition: disco.tpl.php:19
global $DIC
Definition: saml.php:7
$lng

References $DIC, $f, $i, and $lng.