ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
ILIAS\UI\examples\Panel\Report
;
6
18
function
base
()
19
{
20
global
$DIC
;
21
$f
= $DIC->ui()->factory();
22
$renderer
= $DIC->ui()->renderer();
23
24
$sub1 =
$f
->panel()->sub(
"Sub Panel Title 1"
,
$f
->legacy(
"Some Content"
))
25
->withFurtherInformation(
$f
->card()->standard(
"Card Heading"
)->withSections(array(
$f
->legacy(
"Card Content"
))));
26
$sub2 =
$f
->panel()->sub(
"Sub Panel Title 2"
,
$f
->legacy(
"Some Content"
));
27
28
$block =
$f
->panel()->report(
"Report Title"
, array($sub1,$sub2));
29
30
return
$renderer
->render($block);
31
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
ILIAS\UI\examples\Panel\Report
Definition:
base.php:5
ILIAS\UI\examples\Panel\Report\base
base()
description: > Example for rendering a report panel.
Definition:
base.php:18
$DIC
global $DIC
Definition:
shib_login.php:25
components
ILIAS
UI
src
examples
Panel
Report
base.php
Generated on Wed Sep 10 2025 15:16:44 for ILIAS by
1.8.13 (using
Doxyfile
)