ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
base.php File Reference

Go to the source code of this file.

Functions

 base ()
 

Function Documentation

◆ base()

base ( )

Definition at line 3 of file base.php.

References $DIC, and $html.

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 }
global $DIC
Definition: saml.php:7
$html
Definition: example_001.php:87