Ubiquity
2.0.3
php rapid development framework
Display.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\core\postinstall
;
4
5
use
Ubiquity\core\Framework
;
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
Framework
Ubiquity\core\postinstall\Display
Definition:
Display.php:7
Ubiquity\core\postinstall
Definition:
Display.php:3
Ubiquity\core\postinstall\Display\semanticMenu
static semanticMenu($id, $semantic)
Definition:
Display.php:9
Ubiquity\core\Framework\hasAdmin
static hasAdmin()
Definition:
Framework.php:53
Ubiquity
core
postinstall
Display.php
Generated on Thu May 31 2018 02:05:14 for
Ubiquity
by
doxygen
1.8.13