ILIAS  release_7 Revision v7.30-3-g800a261c036
with_footer.php
Go to the documentation of this file.
1<?php
2
3function with_footer()
4{
5 global $DIC;
6
7 $factory = $DIC->ui()->factory();
8 $renderer = $DIC->ui()->renderer();
9
10 $tags = ["PHP", "ILIAS", "Sofware", "SOLID", "Domain Driven"];
11
12 $html = "";
13 foreach ($tags as $tag) {
14 $html .= $renderer->render($factory->button()->tag($tag, ""));
15 }
16
17 $legacy = $factory->legacy($html);
18 $link = $factory->button()->Shy("Edit Keywords", "");
19
20 $panel = $factory->panel()->secondary()->legacy("panel title", $legacy)->withFooter($link);
21
22 return $renderer->render($panel);
23}
An exception for terminatinating execution or to throw for unit testing.
global $DIC
Definition: goto.php:24
if(isset($_FILES['img_file']) &&is_array($_FILES['img_file'])) $panel
Definition: imgupload.php:138
$factory
Definition: metadata.php:58