ILIAS  release_7 Revision v7.30-3-g800a261c036
mainbar.php File Reference

Go to the source code of this file.

Functions

 mainbar ()
 

Function Documentation

◆ mainbar()

mainbar ( )

Definition at line 2 of file mainbar.php.

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}
$txt
Definition: error.php:13
global $DIC
Definition: goto.php:24
$url

References $DIC, Vendor\Package\$f, $txt, and $url.

Referenced by ILIAS\UI\Implementation\Component\Layout\Page\Standard\__construct(), ilLSViewLayoutProvider\getMainBarModification(), ILIAS\UI\Implementation\Component\Layout\Page\Standard\hasMainbar(), StandardPageTest\setUp(), MainBarTest\setUp(), MainBarTest\testAddEntry(), MainBarTest\testAddToolEntry(), MainBarTest\testAddToolEntryWithoutToolsButton(), MainBarTest\testConstruction(), MainBarTest\testDisallowedEntry(), MainBarTest\testDisallowedToolEntry(), MainBarTest\testDouplicateIdEntry(), MainBarTest\testDouplicateIdToolEntry(), StandardPageTest\testGetMainbar(), StandardPageTest\testRenderingWithMetaData(), StandardPageTest\testRenderingWithRtlLanguage(), StandardPageTest\testRenderingWithTitle(), MainBarTest\testSignalsPresent(), MainBarTest\testWithInvalidActive(), and StandardPageTest\testWithWrongContents().

+ Here is the caller graph for this function: