ILIAS  release_8 Revision v8.24
std_icons.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
7function 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}
global $DIC
Definition: feed.php:28
$i
Definition: metadata.php:41
$lng