ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
disabled_icon.php
Go to the documentation of this file.
1 <?php
2 function disabled_icon()
3 {
4  global $DIC;
5  $f = $DIC->ui()->factory();
6  $renderer = $DIC->ui()->renderer();
7 
8  $buffer = array();
9 
10  $ico = $f->icon()->standard('grp', 'Group', 'large', false);
11 
12  $buffer[] = $renderer->render($ico) . ' Large Group Enabled';
13  $buffer[] = $renderer->render($ico->withDisabled(true)) . ' Large Group Disabled';
14  $buffer[] = $renderer->render($ico->withIsOutlined(true)) . ' Large Group Enabled Outlined';
15  $buffer[] = $renderer->render($ico->withDisabled(true)->withIsOutlined(true)) . ' Large Group Disabled Outlined';
16 
17  return implode('<br><br>', $buffer);
18 }
global $DIC
Definition: saml.php:7
disabled_icon()