ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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.

References $DIC, $i, and array.

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