ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
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 
33 function engaged()
34 {
35  global $DIC;
36  $f = $DIC->ui()->factory();
37  $renderer = $DIC->ui()->renderer();
38 
39  $glyph = $f->symbol()->glyph()->briefcase();
40  $button = $f->button()->bulky($glyph, 'Engaged Button', '#')
41  ->withEngagedState(true);
42 
43  return $renderer->render($button);
44 }
$renderer
global $DIC
Definition: shib_login.php:22
engaged()
description: > Example for rendering an engaged bulky button
Definition: engaged.php:33