Ubiquity  2.0.2
php rapid development framework
Display.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
7 class Display {
8 
9  public static function semanticMenu($id, $semantic) {
10  $menu=$semantic->htmlMenu($id, [ "Ubiquity website","Guide","Doc API","GitHub" ]);
11  $menu->asLinks([ "https://ubiquity.kobject.net","https://micro-framework.readthedocs.io/en/latest/?badge=latest","https://api.kobject.net/ubiquity/","https://github.com/phpMv/ubiquity" ], 'new');
12  $menu->setSecondary();
13  if (Framework::hasAdmin()) {
14  $menu->addItem(new \Ajax\semantic\html\elements\html5\HtmlLink("", "Admin", "UbiquityMyAdmin", "admin"));
15  }
16  return $menu;
17  }
18 }
19 
static semanticMenu($id, $semantic)
Definition: Display.php:9