ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
std_course_icon.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\Examples\Symbol\Icon\Standard
;
6
7
function
std_course_icon
()
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
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\Examples\Symbol\Icon\Standard
Definition:
disabled_icon.php:5
ILIAS\UI\Examples\Symbol\Icon\Standard\std_course_icon
std_course_icon()
Definition:
std_course_icon.php:7
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Symbol
Icon
Standard
std_course_icon.php
Generated on Sun Nov 2 2025 22:02:03 for ILIAS by
1.9.4 (using
Doxyfile
)