ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
base.php
Go to the documentation of this file.
1<?php
2
3function 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}
base()
Definition: base.php:2
An exception for terminatinating execution or to throw for unit testing.
$html
Definition: example_001.php:87
global $DIC
Definition: saml.php:7