Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/home/application/PhabricatorHomeApplication.php
12262 views
1
<?php
2
3
final class PhabricatorHomeApplication extends PhabricatorApplication {
4
5
const DASHBOARD_DEFAULT = 'dashboard:default';
6
7
public function getBaseURI() {
8
return '/home/';
9
}
10
11
public function getName() {
12
return pht('Home');
13
}
14
15
public function getShortDescription() {
16
return pht('Command Center');
17
}
18
19
public function getIcon() {
20
return 'fa-home';
21
}
22
23
public function getRoutes() {
24
return array(
25
'/' => 'PhabricatorHomeMenuItemController',
26
27
// NOTE: If you visit "/" on mobile, you get just the menu. If you visit
28
// "/home/" on mobile, you get the content. From the normal desktop
29
// UI, there's no difference between these pages.
30
31
'/(?P<content>home)/' => array(
32
'' => 'PhabricatorHomeMenuItemController',
33
'menu/' => $this->getProfileMenuRouting(
34
'PhabricatorHomeMenuItemController'),
35
),
36
);
37
}
38
39
public function isLaunchable() {
40
return false;
41
}
42
43
public function getApplicationOrder() {
44
return 9;
45
}
46
47
}
48
49