19declare(strict_types=1);
40 $factory =
$DIC->ui()->factory();
42 $request =
$DIC->http()->wrapper()->query();
43 $request_url =
$DIC->http()->request()->getUri();
44 $data_factory = new \ILIAS\Data\Factory();
45 $refinery_factory = new \ILIAS\Refinery\Factory($data_factory,
$DIC->language());
47 $example_uri = $data_factory->uri($request_url->__toString());
49 $pseudo_icon = $factory->symbol()->icon()->standard(
'',
'Pseudo Icon')->withAbbreviation(
'P');
52 $factory->link()->standard(
'Some Pseudo Link',
'#'),
53 $factory->link()->standard(
'Another Pseudo Link',
'#'),
54 $factory->link()->standard(
'Pseudo Link',
'#'),
57 $footer = $factory->mainControls()->footer();
59 ->withPermanentURL($example_uri)
60 ->withAdditionalLinkGroup(
"Link Group 1", $pseudo_links)
61 ->withAdditionalLinkGroup(
"Link Group 2", $pseudo_links)
62 ->withAdditionalLinkGroup(
"Link Group 3", $pseudo_links)
63 ->withAdditionalLinkGroup(
"Link Group 4", $pseudo_links)
64 ->withAdditionalLink(...$pseudo_links)
65 ->withAdditionalIcon($pseudo_icon,
null)
66 ->withAdditionalIcon($pseudo_icon,
null)
67 ->withAdditionalIcon($pseudo_icon,
null)
70 'Running on green energy',
71 'It\'s (swearword) huge!',
76 $open_footer_in_fullscreen = $factory->button()->primary(
77 'See Footer in fullscreen',
78 $example_uri .
'&ui_maincontrols_footer_example=1',
81 return $renderer->render($open_footer_in_fullscreen);
85 \
ILIAS\
HTTP\Wrapper\RequestWrapper $request,
89 if (!$request->
has(
'ui_maincontrols_footer_example')
90 || 1 !== $request->retrieve(
'ui_maincontrols_footer_example',
$refinery->kindlyTo()->
int())
99 $html =
$DIC->ui()->renderer()->render(
103 $DIC->http()->saveResponse(
104 $DIC->http()->response()
105 ->withHeader(
'Content-Type',
'text/html; charset=utf-8')
108 $DIC->http()->sendResponse();
109 $DIC->http()->close();
118 $factory->mainControls()->metaBar(),
119 $factory->mainControls()->mainBar(),
121 $factory->image()->responsive(
"assets/images/logo/HeaderIcon.svg",
"ILIAS"),
122 $factory->image()->responsive(
"assets/images/logo/HeaderIconResponsive.svg",
"ILIAS"),
123 './assets/images/logo/favicon.ico',
124 $factory->toast()->container(),
Builds a Color from either hex- or rgb values.
static initILIAS()
ilias initialisation
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
maybeRenderFooterInFullScreenMode(\ILIAS\HTTP\Wrapper\RequestWrapper $request, \ILIAS\Refinery\Factory $refinery, \ILIAS\UI\Component\MainControls\Footer $footer,)
getFullScreenDemoPage(\ILIAS\UI\Factory $factory, \ILIAS\UI\Component\MainControls\Footer $footer,)
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.
if(!file_exists('../ilias.ini.php'))