ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
base.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
32function 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}
global $DIC
Definition: shib_login.php:26