ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
base.php
Go to the documentation of this file.
1
<?
php
2
3
function
base
()
4
{
5
//Loading factories
6
global
$DIC
;
7
$f
= $DIC->ui()->factory();
8
$renderer = $DIC->ui()->renderer();
9
10
$back =
$f
->button()->standard(
"previous"
,
"http://www.ilias.de"
);
11
$next =
$f
->button()->standard(
"next"
,
"http://www.github.com"
);
12
13
//month button or standard button can be used.
14
$button =
$f
->button()->standard(
"Today"
,
""
);
15
$view_control_section =
$f
->viewControl()->section($back, $button, $next);
16
$html
= $renderer->render($view_control_section);
17
return
$html
;
18
}
$DIC
global $DIC
Definition:
saml.php:7
base
base()
Definition:
base.php:2
$f
$f
Definition:
fetch_windows_zones.php:31
php
$html
$html
Definition:
example_001.php:87
src
UI
examples
ViewControl
Section
base.php
Generated on Thu Feb 27 2025 19:02:11 for ILIAS by
1.8.13 (using
Doxyfile
)