ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
with_footer.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
33function 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
global $DIC
Definition: shib_login.php:26