Go to the source code of this file.
◆ default_icon()
Definition at line 2 of file default_icon.php.
References $DIC, and array.
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
10 $ico = $f->icon()->standard(
'someExample',
'Example');
11 $ico = $ico->withAbbreviation(
'E');
13 $buffer[] = $renderer->render($ico)
16 $buffer[] = $renderer->render($ico->withSize(
'medium'))
19 $buffer[] = $renderer->render($ico->withSize(
'large'))
23 $ico = $f->icon()->standard(
'someObject',
'Object');
24 $ico = $ico->withAbbreviation(
'OB');
26 $buffer[] = $renderer->render($ico->withSize(
'small'))
29 $buffer[] = $renderer->render($ico->withSize(
'medium'))
32 $buffer[] = $renderer->render($ico->withSize(
'large'))
36 return implode(
'<br><br>', $buffer);
Create styles array
The data for the language used.