ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Symbol\Avatar\Letter
;
6
7
function
base
()
8
{
9
$examples = array(
10
1 =>
'om'
,
11
2 =>
'gk'
,
12
3 =>
'bj'
,
13
4 =>
'ea'
,
14
5 =>
'mf'
,
15
6 =>
'ob'
,
16
7 =>
'bi'
,
17
8 =>
'hu'
,
18
9 =>
'fa'
,
19
10 =>
'so'
,
20
11 =>
'il'
,
21
12 =>
'ut'
,
22
13 =>
'ur'
,
23
14 =>
'lt'
,
24
15 =>
'kg'
,
25
16 =>
'jl'
,
26
17 =>
'qb'
,
27
18 =>
'rq'
,
28
19 =>
'ot'
,
29
20 =>
'cq'
,
30
21 =>
'rm'
,
31
22 =>
'aj'
,
32
23 =>
'li'
,
33
24 =>
'er'
,
34
25 =>
'ui'
,
35
26 =>
'mi'
,
36
);
37
38
global
$DIC
;
39
$f
= $DIC->ui()->factory();
40
$r = $DIC->ui()->renderer();
41
42
$avatars = [];
43
foreach
($examples as $abbreviation) {
44
$letter =
$f
->symbol()->avatar()->letter($abbreviation);
45
$avatars[] = $letter;
46
}
47
48
return
$r->render($avatars);
49
}
ILIAS\UI\examples\Symbol\Avatar\Letter\base
base()
Definition:
base.php:7
ILIAS\UI\examples\Symbol\Avatar\Letter
Definition:
base.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Symbol
Avatar
Letter
base.php
Generated on Sun Apr 13 2025 22:02:59 for ILIAS by
1.8.13 (using
Doxyfile
)