ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
with_content_and_referenced_language.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
7 
9 {
10  global $DIC;
11  $f = $DIC->ui()->factory();
12  $renderer = $DIC->ui()->renderer();
13  $data_factaory = new DataFactory();
14 
15  $link = $f->link()->standard("Abrir ILIAS", "http://www.ilias.de")
16  ->withLanguageOfReferencedContent($data_factaory->languageTag("de"))
17  ->withContentLanguage($data_factaory->languageTag("es"));
18  return $renderer->render($link);
19 }
withContentLanguage(LanguageTag $content_language)
global $DIC
Definition: feed.php:28