ILIAS  release_7 Revision v7.30-3-g800a261c036
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 2 of file base.php.

3{
4 global $DIC;
5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
7
8 return $renderer->render($f->button()->month("02-2017")->withOnLoadCode(function ($id) {
9 return "$(\"#$id\").on('il.ui.button.month.changed', function(el, id, month) { alert(\"Clicked: \" + id + ' with ' + month);});";
10 }));
11}
global $DIC
Definition: goto.php:24

References $DIC, and Vendor\Package\$f.