ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

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

Referenced by ILIAS\UI\Implementation\Component\Layout\Page\Standard\__construct(), ILIAS\UI\Implementation\Component\Layout\Page\Standard\hasMainbar(), MainBarTest\setUp(), StandardPageTest\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().

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 }
global $DIC
Definition: goto.php:24
$txt
Definition: error.php:13
$url
+ Here is the caller graph for this function: