ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
with_long_description.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Item\Shy
;
6
17
function
with_long_description
()
18
{
19
global
$DIC
;
20
21
return
$DIC->ui()->renderer()->render(
22
$DIC->ui()->factory()->item()->shy(
'Test shy Item'
)->withDescription(
23
'This is a test shy of the root user in the current time. This is a little bit longer than
24
the usual to test its visual presentation when the content exceed a minor amount of chars to see if this
25
is still presented properly. This may affect its presentation inside a mobile or restricted view therefore
26
the presentation of a long text is necessary to test within this example to show its responsivity above all
27
views and to show the using developer, who is accessing this example for exact those information if the
28
component can be used for his target purpose.'
29
)
30
);
31
}
$DIC
global $DIC
Definition:
shib_login.php:25
ILIAS\UI\examples\Item\Shy
Definition:
base.php:5
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:17
components
ILIAS
UI
src
examples
Item
Shy
with_long_description.php
Generated on Wed Sep 10 2025 15:16:45 for ILIAS by
1.8.13 (using
Doxyfile
)