ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
base.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
13 function base()
14 {
15  global $DIC;
16  $f = $DIC->ui()->factory();
17  $renderer = $DIC->ui()->renderer();
18  $primary = $f->button()->primary("Goto ILIAS", "http://www.ilias.de")
19  ->withHelpTopics(
20  ...$f->helpTopics("ilias", "learning management system")
21  );
22  return $renderer->render($primary);
23 }
base()
expected output: > ILIAS shows the rendered Component.
Definition: base.php:13
$renderer
global $DIC
Definition: shib_login.php:25