3 declare(strict_types=1);
12 $f = $DIC->ui()->factory();
13 $renderer = $DIC->ui()->renderer();
14 $url = $DIC->http()->request()->getUri()->__toString() .
'&new_footer_2_ui=1';
15 $page_demo =
$f->link()->standard(
'See UI in fullscreen-mode',
$url);
17 return $renderer->render($page_demo);
23 $f = $DIC->ui()->factory();
25 $text =
'Additional info:';
27 $links[] =
$f->link()->standard(
"Goto ILIAS",
"http://www.ilias.de");
29 $footer =
$f->mainControls()->footer($links, $text);
31 $roundTripModal =
$f->modal()->roundtrip(
'Withdrawal of Consent',
$f->legacy(
'Withdrawal of Consent ...'));
32 $shyButton =
$f->button()->shy(
'Terms Of Service',
'#');
33 return $footer->withAdditionalModalAndTrigger($roundTripModal, $shyButton);
52 require_once(
"src/UI/examples/MainControls/Footer/footer.php");
54 $f = $dic->
ui()->factory();
55 $renderer = $dic->
ui()->renderer();
56 $logo =
$f->image()->responsive(
"templates/default/images/logo/HeaderIcon.svg",
"ILIAS");
57 $responsive_logo =
$f->image()->responsive(
"templates/default/images/logo/HeaderIconResponsive.svg",
"ILIAS");
62 $tc = $dic->
ui()->factory()->toast()->container();
66 $page =
$f->layout()->page()->standard(
73 "./templates/default/images/logo/favicon.ico",
76 'UI PAGE FOOTER DEMO',
78 'Std. Page Footer Demo' 81 return $renderer->render($page);
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($request_wrapper->has('new_footer_2_ui') && $request_wrapper->retrieve('new_footer_2_ui', $refinery->kindlyTo() ->int())===1) renderFooterWithModalsInFullscreenMode(Container $dic)