ILIAS
trunk Revision v11.0_alpha-1871-gde1fee8db3d
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
with_long_description.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Item\Shy
;
22
33
function
with_long_description
()
34
{
35
global
$DIC
;
36
37
return
$DIC->ui()->renderer()->render(
38
$DIC->ui()->factory()->item()->shy(
'Test shy Item'
)->withDescription(
39
'This is a test shy of the root user in the current time. This is a little bit longer than
40
the usual to test its visual presentation when the content exceed a minor amount of chars to see if this
41
is still presented properly. This may affect its presentation inside a mobile or restricted view therefore
42
the presentation of a long text is necessary to test within this example to show its responsivity above all
43
views and to show the using developer, who is accessing this example for exact those information if the
44
component can be used for his target purpose.'
45
)
46
);
47
}
$DIC
global $DIC
Definition:
shib_login.php:22
ILIAS\UI\examples\Item\Shy
Definition:
base.php:21
ILIAS\UI\examples\Item\Shy\with_long_description
with_long_description()
description: > Example for rendering a shy item with a long description.
Definition:
with_long_description.php:33
components
ILIAS
UI
src
examples
Item
Shy
with_long_description.php
Generated on Mon Apr 28 2025 23:04:00 for ILIAS by
1.8.13 (using
Doxyfile
)