19 declare(strict_types=1);
44 return $this->id_factory->identifier($group->value);
50 $this->item_factory->group(
52 $this->translator->translate(
'accessibility')
54 $this->item_factory->group(
56 $this->translator->translate(
'legal_information')
58 $this->item_factory->group(
60 $this->translator->translate(
'support')
62 $this->item_factory->group(
64 $this->translator->translate(
'services')
71 $request = $this->dic->http()->request()->getUri();
72 return new URI($request->getScheme() .
'://' . $request->getHost() .
'/' . ltrim($from_path,
'/'));
82 $entries[] = $this->item_factory
84 $this->id_factory->identifier(
'accessibility_control'),
85 $accessibility_control_title
94 $entries[] = $this->item_factory
96 $this->id_factory->identifier(
'accessibility_report'),
97 $accessibility_report_title
112 $imprint_title = $this->dic->language()->txt(
"imprint");
114 $entries[] = $this->item_factory
116 $this->id_factory->identifier(
'imprint'),
126 $entries[] = $this->item_factory
128 $this->id_factory->identifier(
'system_support'),
129 $system_support_title
138 $translation_title = $this->dic->language()->txt(
'translation');
139 $entries[] = $this->item_factory
141 $this->id_factory->identifier(
'translation'),
156 $text =
"powered by ILIAS (v{$ilias_version})";
159 $this->item_factory->text(
160 $this->id_factory->identifier(
'ilias_version'),
168 $permanant_link = PageContentProvider::getPermaLink();
169 if (empty($permanant_link)) {
173 return $this->item_factory->permanent(
174 $this->id_factory->identifier(
'permanent'),
175 $this->translator->translate(
'permanent'),
176 new URI($permanant_link)
180 private function txt(
string $key): string
182 return $this->dic->language()->txt($key);
static _isPageTranslation()
Check if the current request is a page translation.
Interface IdentificationInterface.
Customizing of pimple-DIC for ILIAS.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static _getTranslationLink()
Get the link to translate the current page.
static _getStaticLink(?int $a_ref_id, string $a_type='', bool $a_fallback_goto=true, string $append="")
__construct(Container $dic, ilPlugin $plugin)
static _checkTranslate()
Permission check for translations.