ILIAS  release_10 Revision v10.1-43-ga1241a92c2f
with_disabled.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
6 
13 function with_disabled()
14 {
15  global $DIC;
16  $f = $DIC->ui()->factory();
17  $renderer = $DIC->ui()->renderer();
18 
19  $link = $f->link()->standard("Goto ILIAS", "http://www.ilias.de")
20  ->withDisabled(true);
21  return $renderer->render($link);
22 }
$renderer
global $DIC
Definition: shib_login.php:25