ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?
php
2
function
base
()
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
}
base
base()
Definition:
base.php:4
php
An exception for terminatinating execution or to throw for unit testing.
$DIC
global $DIC
Definition:
goto.php:24
Vendor\Package\$f
$f
Definition:
example_cleaned.php:31
src
UI
examples
Button
Month
base.php
Generated on Sat Oct 4 2025 21:01:15 for ILIAS by
1.9.4 (using
Doxyfile
)