ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
disabled_icon.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
32function disabled_icon()
33{
34 global $DIC;
35 $f = $DIC->ui()->factory();
36 $renderer = $DIC->ui()->renderer();
37
38 $buffer = array();
39
40 $ico = $f->symbol()->icon()->standard('grp', 'Group', 'large', false);
41
42 $buffer[] = $renderer->render($ico) . ' Large Group Enabled';
43 $buffer[] = $renderer->render($ico->withDisabled(true)) . ' Large Group Disabled';
44
45 return implode('<br><br>', $buffer);
46}
$renderer
global $DIC
Definition: shib_login.php:26