1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/applications/dashboard/application/PhabricatorApplicationDashboard.php

41 lines
889 B
PHP
Raw Normal View History

<?php
final class PhabricatorApplicationDashboard extends PhabricatorApplication {
public function getBaseURI() {
return '/dashboard/';
}
public function getShortDescription() {
return pht('Such Data');
}
public function getIconName() {
return 'dashboard';
}
public function getRoutes() {
return array(
'/W(?P<id>\d+)' => 'PhabricatorDashboardPanelViewController',
'/dashboard/' => array(
'(?:query/(?P<queryKey>[^/]+)/)?'
=> 'PhabricatorDashboardListController',
'view/(?P<id>\d+)/' => 'PhabricatorDashboardViewController',
'panel/' => array(
'(?:query/(?P<queryKey>[^/]+)/)?'
=> 'PhabricatorDashboardPanelListController',
),
),
);
}
public function shouldAppearInLaunchView() {
return false;
}
public function canUninstall() {
return false;
}
}