ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Image\Responsive
;
6
10
function
base
()
11
{
12
//Loading factories
13
global
$DIC
;
14
$f
= $DIC->ui()->factory();
15
$renderer = $DIC->ui()->renderer();
16
17
//Genarating and rendering the image
18
$image =
$f
->image()->responsive(
19
"src/UI/examples/Image/HeaderIconLarge.svg"
,
20
"Thumbnail Example"
21
);
22
$html = $renderer->render($image);
23
24
return
$html;
25
}
ILIAS\UI\examples\Image\Responsive
Definition:
base.php:5
ILIAS\UI\examples\Image\Responsive\base
base()
Base Example for rendering an responsive Image.
Definition:
base.php:10
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Image
Responsive
base.php
Generated on Sun Aug 31 2025 22:02:48 for ILIAS by
1.8.13 (using
Doxyfile
)