3 declare(strict_types=1);
12 $f = $DIC->ui()->factory();
13 $renderer = $DIC->ui()->renderer();
15 $url =
'src/UI/examples/MainControls/Footer/footer.php?new_footer_ui=1';
17 $page_demo =
$f->link()->standard(
'See UI in fullscreen-mode',
$url);
19 return $renderer->render([
27 $f = $DIC->ui()->factory();
28 $df = new \ILIAS\Data\Factory();
30 $text =
'Additional info:';
32 $links[] =
$f->link()->standard(
"Goto ILIAS",
"http://www.ilias.de");
33 $links[] =
$f->link()->standard(
"Goto Mantis",
"http://mantis.ilias.de");
36 return $f->mainControls()->footer($links, $text)->withPermanentURL(
38 (
$_SERVER[
'REQUEST_SCHEME'] ??
"http") .
'://' 39 . (
$_SERVER[
'SERVER_NAME'] ??
"localhost") .
':' 50 if (basename(
$_SERVER[
"SCRIPT_FILENAME"]) ==
"footer.php") {
51 chdir(
'../../../../../');
52 require_once(
"libs/composer/vendor/autoload.php");
65 $f = $dic->
ui()->factory();
66 $renderer = $dic->
ui()->renderer();
67 $logo =
$f->image()->responsive(
"templates/default/images/HeaderIcon.svg",
"ILIAS");
68 $responsive_logo =
$f->image()->responsive(
"templates/default/images/HeaderIconResponsive.svg",
"ILIAS");
73 $tc = $dic->
ui()->factory()->toast()->container();
77 $page =
$f->layout()->page()->standard(
84 "./templates/default/images/favicon.ico",
87 'UI PAGE FOOTER DEMO',
89 'Std. Page Footer Demo' 92 return $renderer->render($page);
98 $f->panel()->standard(
99 'All about the Footer',
109 $help = $f->button()->bulky($f->symbol()->glyph()->help(),
'Help',
'#');
110 return $f->mainControls()->metaBar()->withAdditionalEntry(
'help', $help);
115 return $f->breadcrumbs([]);
120 return $f->mainControls()->mainBar();
pageFooterDemoMainbar(\ILIAS\UI\Factory $f)
Class ChatMainBarProvider .
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Customizing of pimple-DIC for ILIAS.
static initILIAS()
ilias initialisation
pageFooterDemoContent(\ILIAS\UI\Factory $f)
pageFooterDemoCrumbs(\ILIAS\UI\Factory $f)
pageFooterDemoMetabar(\ILIAS\UI\Factory $f)
ui()
Get the interface to get services from UI framework.
if(basename($_SERVER["SCRIPT_FILENAME"])=="footer.php") if(isset($request_wrapper) &&isset($refinery) && $request_wrapper->has('new_footer_ui') && $request_wrapper->retrieve('new_footer_ui', $refinery->kindlyTo() ->string())=='1') renderFooterInFullscreenMode(Container $dic)
Refinery Factory $refinery