ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
with_footer.php File Reference

Go to the source code of this file.

Functions

 with_footer ()
 

Function Documentation

◆ with_footer()

with_footer ( )

Definition at line 3 of file with_footer.php.

References $DIC, and $factory.

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 }
$DIC
Definition: xapitoken.php:46
$factory
Definition: metadata.php:58