ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
decorative.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Image\Standard
;
6
18
function
decorative
()
19
{
20
//Loading factories
21
global
$DIC
;
22
$f
= $DIC->ui()->factory();
23
$renderer
= $DIC->ui()->renderer();
24
25
//Generating and rendering the image
26
$image =
$f
->image()->standard(
27
"assets/ui-examples/images/Image/HeaderIconLarge.svg"
,
28
""
29
);
30
$html =
$renderer
->render($image);
31
32
return
$html;
33
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Image\Standard\decorative
decorative()
description: > Base example for rendering an Image with only decorative purpose (see accessibility r...
Definition:
decorative.php:18
ILIAS\UI\examples\Image\Standard
Definition:
base.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Image
Standard
decorative.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)