ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Image\Standard
;
22
33
function
base
()
34
{
35
//Loading factories
36
global
$DIC
;
37
$f
= $DIC->ui()->factory();
38
$renderer
= $DIC->ui()->renderer();
39
40
//Generating and rendering the image
41
$image =
$f
->image()->standard(
42
"assets/ui-examples/images/Image/HeaderIconLarge.svg"
,
43
"Thumbnail Example"
44
);
45
$html =
$renderer
->render($image);
46
47
return
$html;
48
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Image\Standard
Definition:
base.php:21
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
ILIAS\UI\examples\Image\Standard\base
base()
description: > Base example for rendering an Image.
Definition:
base.php:33
components
ILIAS
UI
src
examples
Image
Standard
base.php
Generated on Sun Aug 31 2025 23:04:08 for ILIAS by
1.8.13 (using
Doxyfile
)