ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?
php
5
function
base
() {
6
//Loading factories
7
global
$DIC
;
8
$f = $DIC->ui()->factory();
9
$renderer = $DIC->ui()->renderer();
10
11
//Genarating and rendering the image
12
$image = $f->image()->responsive(
13
"src/UI/examples/Image/HeaderIconLarge.svg"
,
14
"Thumbnail Example"
);
15
$html
= $renderer->render($image);
16
17
return
$html
;
18
}
base
base()
Definition:
base.php:2
php
$DIC
global $DIC
Definition:
imagemanager.php:32
$html
$html
Definition:
example_001.php:87
src
UI
examples
Image
Responsive
base.php
Generated on Fri Jan 17 2025 19:01:21 for ILIAS by
1.8.13 (using
Doxyfile
)