ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
10
function
decorative
()
11
{
12
//Loading factories
13
global
$DIC
;
14
$f
= $DIC->ui()->factory();
15
$renderer = $DIC->ui()->renderer();
16
17
//Generating and rendering the image
18
$image =
$f
->image()->standard(
19
"src/UI/examples/Image/HeaderIconLarge.svg"
,
20
""
21
);
22
$html = $renderer->render($image);
23
24
return
$html;
25
}
ILIAS\UI\examples\Image\Standard\decorative
decorative()
Base Example for rendering an Image with only decorative purpose (see accessibility rules in images) ...
Definition:
decorative.php:10
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Image\Standard
Definition:
base.php:5
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Image
Standard
decorative.php
Generated on Sat Apr 19 2025 22:02:59 for ILIAS by
1.8.13 (using
Doxyfile
)