ILIAS  trunk Revision v11.0_alpha-1843-g9e1fad99175
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
with_content_and_referenced_language.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
24 
37 {
38  global $DIC;
39  $f = $DIC->ui()->factory();
40  $renderer = $DIC->ui()->renderer();
41  $data_factaory = new DataFactory();
42 
43  $link = $f->link()->standard("Abrir ILIAS", "http://www.ilias.de")
44  ->withLanguageOfReferencedContent($data_factaory->languageTag("de"))
45  ->withContentLanguage($data_factaory->languageTag("es"));
46  return $renderer->render($link);
47 }
$renderer
withContentLanguage(LanguageTag $content_language)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
global $DIC
Definition: shib_login.php:22