ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
disabled_icon.php File Reference

Go to the source code of this file.

Functions

 disabled_icon ()
 

Function Documentation

◆ disabled_icon()

disabled_icon ( )

Definition at line 2 of file disabled_icon.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $buffer = array();
9
10 $ico = $f->symbol()->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}
$DIC
Definition: xapitoken.php:46

References $DIC, and Vendor\Package\$f.