ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
std_course_icon.php
Go to the documentation of this file.
1<?php
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $buffer = array();
9
10 $ico = $f->icon()->standard('crs', 'Course', 'small');
11
12 $buffer[] = $renderer->render($ico)
13 . ' Small Course';
14
15 $buffer[] = $renderer->render($ico->withSize('medium'))
16 . ' Medium Course';
17
18 $buffer[] = $renderer->render($ico->withSize('large'))
19 . ' Large Course';
20
21
22 return implode('<br><br>', $buffer);
23}
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: saml.php:7
std_course_icon()