ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
with_card.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Examples\Panel\Sub
;
22
33
function
with_card
()
34
{
35
global
$DIC
;
36
$f
= $DIC->ui()->factory();
37
$renderer
= $DIC->ui()->renderer();
38
39
$block =
$f
->panel()->standard(
40
"Panel Title"
,
41
$f
->panel()->sub(
"Sub Panel Title"
,
$f
->legacy()->content(
"Some Content"
))
42
->withFurtherInformation(
$f
->card()->standard(
"Card Heading"
)->withSections(array(
$f
->legacy()->content(
"Card Content"
))))
43
);
44
45
return
$renderer
->render($block);
46
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\Examples\Panel\Sub\with_card
with_card()
description: > Example for rendering a sub panel with a card.
Definition:
with_card.php:33
ILIAS\UI\Examples\Panel\Sub
Definition:
with_actions.php:21
Vendor\Package\$f
$f
Definition:
example_cleaned.php:49
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Panel
Sub
with_card.php
Generated on Sun Aug 31 2025 23:04:10 for ILIAS by
1.8.13 (using
Doxyfile
)