ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
footer.php File Reference

Go to the source code of this file.

Functions

 footer ()
 

Function Documentation

◆ footer()

footer ( )

Definition at line 2 of file footer.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $df = new \ILIAS\Data\Factory();
7 $renderer = $DIC->ui()->renderer();
8
9 $text = 'Additional info:';
10 $links = [];
11 $links[] = $f->link()->standard("Goto ILIAS", "http://www.ilias.de");
12 $links[] = $f->link()->standard("Goto ILIAS", "http://www.ilias.de");
13
14 $footer = $f->mainControls()->footer($links, $text)
15 ->withPermanentURL(
16 $df->uri(
17 $_SERVER['REQUEST_SCHEME'] .
18 '://' .
19 $_SERVER['SERVER_NAME'] .
20 ':' .
21 $_SERVER['SERVER_PORT'] .
22 str_replace(
23 'ilias.php',
24 'goto.php?target=xxx12345',
25 $_SERVER['SCRIPT_NAME']
26 )
27 )
28 );
29
30 return $renderer->render($footer);
31}
$_SERVER['HTTP_HOST']
Definition: raiseError.php:10
$DIC
Definition: xapitoken.php:46

References $_SERVER, $DIC, and Vendor\Package\$f.

Referenced by ilWorkspaceAccessGUI\__construct(), ILIAS\UI\Implementation\Component\Layout\Page\Standard\__construct(), ILIAS\UI\Implementation\Component\Layout\Page\Standard\hasFooter(), ilPanelGUI\setFooter(), FooterTest\testRendering(), FooterTest\testRenderingNoLinks(), and FooterTest\testRenderingPermUrl().

+ Here is the caller graph for this function: