ILIAS
release_8 Revision v8.24
◀ ilDoc Overview
with_image_and_progress.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_image_and_progress
()
11
{
12
global
$DIC
;
13
$f
=
$DIC
->ui()->factory();
14
$renderer =
$DIC
->ui()->renderer();
15
$chart =
$f
->chart()->progressMeter()->standard(100, 75);
16
$app_item =
$f
->item()->standard(
"Item Title"
)
17
->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."
)
18
->withProgress($chart)
19
->withLeadImage(
$f
->image()->responsive(
20
"src/UI/examples/Image/HeaderIconLarge.svg"
,
21
"Thumbnail Example"
22
));
23
return
$renderer->render($app_item);
24
}
$DIC
global $DIC
Definition:
feed.php:28
ILIAS\UI\examples\Item\Standard
Definition:
base.php:5
ILIAS\UI\examples\Item\Standard\with_image_and_progress
with_image_and_progress()
With progress meter chart.
Definition:
with_image_and_progress.php:10
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
src
UI
examples
Item
Standard
with_image_and_progress.php
Generated on Sun Nov 2 2025 22:02:02 for ILIAS by
1.9.4 (using
Doxyfile
)