ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
stateful.php
Go to the documentation of this file.
1<?php
2function stateful()
3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 $btn_engaged = $f->button()->standard("Goto ILIAS", "http://www.ilias.de")
9 ->withEngagedState(true);
10
11 return $renderer->render($btn_engaged);
12}
An exception for terminatinating execution or to throw for unit testing.
stateful()
Definition: stateful.php:2
$DIC
Definition: xapitoken.php:46