ILIAS  release_7 Revision v7.30-3-g800a261c036
mainbar.php
Go to the documentation of this file.
1<?php
2function mainbar()
3{
4 global $DIC;
5 $f = $DIC['ui.factory'];
6 $renderer = $DIC['ui.renderer'];
7
8 $url = 'src/UI/examples/Layout/Page/Standard/ui_mainbar.php?ui_mainbar=1';
9 $to_page = $f->button()->standard('Mainbar', $url);
10 $txt = $f->legacy('<p>Better head over to a preview of page to see a mainbar in its entire beauty...</p>');
11 return $renderer->render([
12 $txt,
13 $to_page
14 ]);
15}
An exception for terminatinating execution or to throw for unit testing.
$txt
Definition: error.php:13
global $DIC
Definition: goto.php:24
mainbar()
Definition: mainbar.php:2
$url