ILIAS  release_8 Revision v8.24
std_course_icon.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
8{
9 global $DIC;
10 $f = $DIC->ui()->factory();
11 $renderer = $DIC->ui()->renderer();
12
13 $buffer = array();
14
15 $ico = $f->symbol()->icon()->standard('crs', 'Course', 'small');
16
17 $buffer[] = $renderer->render($ico)
18 . ' Small Course';
19
20 $buffer[] = $renderer->render($ico->withSize('medium'))
21 . ' Medium Course';
22
23 $buffer[] = $renderer->render($ico->withSize('large'))
24 . ' Large Course';
25
26
27 return implode('<br><br>', $buffer);
28}
global $DIC
Definition: feed.php:28