ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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:4
An exception for terminatinating execution or to throw for unit testing.
$DIC
Definition: xapitoken.php:46