ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
std_icons.php
Go to the documentation of this file.
1 <?php
2 function std_icons()
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 }
global $DIC
Definition: saml.php:7
$lng
$i
Definition: disco.tpl.php:19
std_icons()
Definition: std_icons.php:2