ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Symbol\Avatar\Letter
;
22
32
function
base
()
33
{
34
$examples = array(
35
1 =>
'om'
,
36
2 =>
'gk'
,
37
3 =>
'bj'
,
38
4 =>
'ea'
,
39
5 =>
'mf'
,
40
6 =>
'ob'
,
41
7 =>
'bi'
,
42
8 =>
'hu'
,
43
9 =>
'fa'
,
44
10 =>
'so'
,
45
11 =>
'il'
,
46
12 =>
'ut'
,
47
13 =>
'ur'
,
48
14 =>
'lt'
,
49
15 =>
'kg'
,
50
16 =>
'jl'
,
51
17 =>
'qb'
,
52
18 =>
'rq'
,
53
19 =>
'ot'
,
54
20 =>
'cq'
,
55
21 =>
'rm'
,
56
22 =>
'aj'
,
57
23 =>
'li'
,
58
24 =>
'er'
,
59
25 =>
'ui'
,
60
26 =>
'mi'
,
61
);
62
63
global
$DIC
;
64
$f
=
$DIC
->ui()->factory();
65
$r =
$DIC
->ui()->renderer();
66
67
$avatars = [];
68
foreach
($examples as $abbreviation) {
69
$letter =
$f
->symbol()->avatar()->letter($abbreviation);
70
$avatars[] = $letter;
71
}
72
73
return
$r->render($avatars);
74
}
ILIAS\UI\examples\Symbol\Avatar\Letter
Definition:
base.php:21
ILIAS\UI\examples\Symbol\Avatar\Letter\base
base()
Definition:
base.php:32
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Symbol
Avatar
Letter
base.php
Generated on Sat Oct 18 2025 23:04:40 for ILIAS by
1.9.4 (using
Doxyfile
)