ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
decorative.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
34
function
decorative
()
35
{
36
//Loading factories
37
global
$DIC
;
38
$f
= $DIC->ui()->factory();
39
$renderer
= $DIC->ui()->renderer();
40
41
//Generating and rendering the image
42
$image =
$f
->image()->standard(
43
"assets/ui-examples/images/Image/HeaderIconLarge.svg"
,
44
""
45
);
46
$html =
$renderer
->render($image);
47
48
return
$html;
49
}
$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:34
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
components
ILIAS
UI
src
examples
Image
Standard
decorative.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)