Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93140741
PhabricatorDashboardApplication.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 26, 12:37
Size
2 KB
Mime Type
text/x-php
Expires
Thu, Nov 28, 12:37 (2 d)
Engine
blob
Format
Raw Data
Handle
22580672
Attached To
rPH Phabricator
PhabricatorDashboardApplication.php
View Options
<?php
final
class
PhabricatorDashboardApplication
extends
PhabricatorApplication
{
public
function
getName
()
{
return
pht
(
'Dashboards'
);
}
public
function
getBaseURI
()
{
return
'/dashboard/'
;
}
public
function
getShortDescription
()
{
return
pht
(
'Create Custom Pages'
);
}
public
function
getIcon
()
{
return
'fa-dashboard'
;
}
public
function
getRoutes
()
{
return
array
(
'/W(?P<id>
\d
+)'
=>
'PhabricatorDashboardPanelViewController'
,
'/dashboard/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorDashboardListController'
,
'view/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardViewController'
,
'archive/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardArchiveController'
,
'manage/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardManageController'
,
'create/'
=>
'PhabricatorDashboardEditController'
,
'copy/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorDashboardCopyController'
,
'edit/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorDashboardEditController'
,
'uninstall/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardUninstallController'
,
'addpanel/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardAddPanelController'
,
'movepanel/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardMovePanelController'
,
'removepanel/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardRemovePanelController'
,
'panel/'
=>
array
(
'(?:query/(?P<queryKey>[^/]+)/)?'
=>
'PhabricatorDashboardPanelListController'
,
'create/'
=>
'PhabricatorDashboardPanelEditController'
,
$this
->
getEditRoutePattern
(
'editpro/'
)
=>
'PhabricatorDashboardPanelEditproController'
,
'edit/(?:(?P<id>
\d
+)/)?'
=>
'PhabricatorDashboardPanelEditController'
,
'render/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardPanelRenderController'
,
'archive/(?P<id>
\d
+)/'
=>
'PhabricatorDashboardPanelArchiveController'
,
),
),
);
}
public
function
getRemarkupRules
()
{
return
array
(
new
PhabricatorDashboardRemarkupRule
(),
);
}
}
Event Timeline
Log In to Comment