ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 
8  $i = $f->icon()->standard('NONE', 'DummyIcon');
9  $default_icons = $i->getAllStandardHandles();
10  $buffer = array();
11 
12  foreach ($default_icons as $icon) {
13  $i = $f->icon()->standard($icon, $icon, 'medium');
14  $buffer[] = $renderer->render($i)
15  . ' '
16  . $icon;
17  }
18 
19  return implode('<br><br>', $buffer);
20 }
global $DIC
Definition: saml.php:7
Create styles array
The data for the language used.
$i
Definition: disco.tpl.php:19
std_icons()
Definition: std_icons.php:2