ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
with_disabled.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
29 function with_disabled()
30 {
31  global $DIC;
32  $f = $DIC->ui()->factory();
33  $renderer = $DIC->ui()->renderer();
34 
35  $link = $f->link()->standard("Goto ILIAS", "http://www.ilias.de")
36  ->withDisabled(true);
37  return $renderer->render($link);
38 }
$renderer
global $DIC
Definition: shib_login.php:22