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

Go to the source code of this file.

Functions

 metabar ()
 
 buildMetabar ($f)
 

Function Documentation

◆ buildMetabar()

buildMetabar (   $f)

Definition at line 11 of file metabar.php.

12{
13 $help = $f->button()->bulky($f->symbol()->glyph()->help(), 'Help', '#');
14 $search = $f->button()->bulky($f->symbol()->glyph()->search(), 'Search', '#');
15 $user = $f->button()->bulky($f->symbol()->glyph()->user(), 'User', '#');
16
17 $notes = $f->maincontrols()->slate()->legacy(
18 'Notification',
19 $f->symbol()->glyph()->notification(),
20 $f->legacy('some content')
21 );
22
23 $metabar = $f->mainControls()->metabar()
24 ->withAdditionalEntry('search', $search)
25 ->withAdditionalEntry('help', $help)
26 ->withAdditionalEntry('notes', $notes)
27 ->withAdditionalEntry('user', $user)
28 ;
29
30 return $metabar;
31}

References Vendor\Package\$f.

Referenced by metabar().

+ Here is the caller graph for this function:

◆ metabar()