ILIAS  release_8 Revision v8.24
with_image_and_progress.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
6
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}
global $DIC
Definition: feed.php:28
with_image_and_progress()
With progress meter chart.