ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
with_footer.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\examples\Panel\Secondary\Legacy
;
22
33
function
with_footer
()
34
{
35
global
$DIC
;
36
37
$factory =
$DIC
->ui()->factory();
38
$renderer
=
$DIC
->ui()->renderer();
39
40
$tags = [
"PHP"
,
"ILIAS"
,
"Sofware"
,
"SOLID"
,
"Domain Driven"
];
41
42
$html =
""
;
43
foreach
($tags as $tag) {
44
$html .=
$renderer
->render($factory->button()->tag($tag,
""
));
45
}
46
47
$legacy = $factory->legacy()->content($html);
48
$link = $factory->button()->Shy(
"Edit Keywords"
,
""
);
49
50
$panel = $factory->panel()->secondary()->legacy(
"panel title"
, $legacy)->withFooter($link);
51
52
return
$renderer
->render($panel);
53
}
$renderer
$renderer
Definition:
build_bootstrap.php:83
ILIAS\UI\examples\Panel\Secondary\Legacy
Definition:
base.php:21
ILIAS\UI\examples\Panel\Secondary\Legacy\with_footer
with_footer()
Definition:
with_footer.php:33
$DIC
global $DIC
Definition:
shib_login.php:26
components
ILIAS
UI
src
examples
Panel
Secondary
Legacy
with_footer.php
Generated on Sat Oct 18 2025 23:04:41 for ILIAS by
1.9.4 (using
Doxyfile
)