ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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
17
function
base
()
18
{
19
//Loading factories
20
global
$DIC
;
21
$f
= $DIC->ui()->factory();
22
$renderer
= $DIC->ui()->renderer();
23
24
//Genarating and rendering the image
25
$image =
$f
->image()->responsive(
26
"assets/ui-examples/images/Image/HeaderIconLarge.svg"
,
27
"Thumbnail Example"
28
);
29
$html =
$renderer
->render($image);
30
31
return
$html;
32
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Image\Responsive
Definition:
base.php:5
ILIAS\UI\examples\Image\Responsive\base
base()
description: > Base example for rendering a responsive Image.
Definition:
base.php:17
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Image
Responsive
base.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)