ILIAS  trunk Revision v11.0_alpha-1744-gb0451eebef4
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
engaged.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
32 function engaged()
33 {
34  global $DIC;
35  $f = $DIC->ui()->factory();
36  $renderer = $DIC->ui()->renderer();
37 
38  $button = $f->button()->shy("Engaged Button", "#")
39  ->withEngagedState(true);
40  return $renderer->render($button);
41 }
$renderer
engaged()
description: > Example for rendering an engaged shy button
Definition: engaged.php:32
global $DIC
Definition: shib_login.php:22