92 return $this->context_collection->
main();
102 $ui = $this->dic->ui();
103 return $ui->factory()->legacy(
104 $ui->renderer()->render($content) . self::$content
106 })->withLowPriority();
112 return $this->
globalScreen()->layout()->factory()->title()->withModification(
113 function (
string $content) :
string {
116 )->withLowPriority();
121 return $this->
globalScreen()->layout()->factory()->short_title()->withModification(
122 function (
string $content) :
string {
123 return self::$short_title;
125 )->withLowPriority();
130 return $this->
globalScreen()->layout()->factory()->view_title()->withModification(
131 function (
string $content) :
string {
132 return self::$view_title;
134 )->withLowPriority();
142 return $this->
globalScreen()->layout()->factory()->footer()->withModification(
function () :
Footer {
143 $f = $this->dic->ui()->factory();
147 $ilias_version = $this->dic->settings()->get(
'ilias_version');
148 $text =
"powered by ILIAS (v{$ilias_version})";
152 $imprint_title = $this->dic->language()->txt(
"imprint");
154 $links[] =
$f->link()->standard($imprint_title, $imprint_url);
160 $links[] =
$f->link()->standard($system_support_title, $system_support_url);
166 $translation_title = $this->dic->language()->txt(
'translation');
167 $links[] =
$f->link()->standard($translation_title, $translation_url)->withOpenInNewViewport(
true);
173 $links[] =
$f->link()->standard($accessibility_control_title, $accessibility_control_url);
179 $links[] =
$f->link()->standard($accessibility_report_title, $accessibility_report_url);
182 $footer =
$f->mainControls()->footer($links, $text);
184 if (self::$perma_link !==
"") {
185 $footer = $footer->withPermanentURL(
new URI(self::$perma_link));
static setViewTitle(string $view_title)
static _isPageTranslation()
Check if the current request is a page translation.
getFooterModification(CalledContexts $screen_context_stack)
static _getStaticLink( $a_ref_id, $a_type='', $a_fallback_goto=true, $append="")
Get static link.
static getFooterLink()
Get footer link.
Class ShortTitleModification.
getContentModification(CalledContexts $screen_context_stack)
Class ShortTitleModification.
getViewTitleModification(CalledContexts $screen_context_stack)
Class ContentModification.
Class AbstractModificationProvider.
static getFooterText()
Get footer text.
static _getTranslationLink()
Get the link to translate the current page.
getTitleModification(CalledContexts $screen_context_stack)
The scope of this class is split ilias-conform URI's into components.
getShortTitleModification(CalledContexts $screen_context_stack)
static setContent(string $content)
static setShortTitle(string $short_title)
static setTitle(string $title)
Interface ModificationProvider.
static setPermaLink(string $perma_link)
This describes the Footer.
static _checkTranslate()
Permission check for translations.
Class ilPageContentProvider.