ILIAS
release_8 Revision v8.23
◀ ilDoc Overview
with_shy_properties.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Item\Standard
;
6
10
function
with_shy_properties
()
11
{
12
global
$DIC
;
13
$f
= $DIC->ui()->factory();
14
$renderer = $DIC->ui()->renderer();
15
$app_item =
$f
->item()->standard(
"Item Title"
)
16
->withProperties(array(
17
"LMS"
=>
$f
->button()->shy(
"ILIAS"
,
"https://www.ilias.de"
),
18
"Code Repo"
=>
$f
->button()->shy(
"GitHub"
,
"https://www.github.com"
),
19
"Location"
=>
"Room 123, Main Street 44, 3012 Bern"
))
20
->withDescription(
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua."
);
21
return
$renderer->render($app_item);
22
}
ILIAS\UI\examples\Item\Standard\with_shy_properties
with_shy_properties()
With shy buttons as property values.
Definition:
with_shy_properties.php:10
ILIAS\UI\examples\Item\Standard
Definition:
base.php:5
$DIC
global $DIC
Definition:
feed.php:28
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Item
Standard
with_shy_properties.php
Generated on Sun Aug 31 2025 22:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)