2014-02-17 16:00:19 -08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorApplicationNotifications extends PhabricatorApplication {
|
|
|
|
|
|
|
|
public function getBaseURI() {
|
|
|
|
return '/notification/';
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getShortDescription() {
|
2014-05-29 12:17:54 -07:00
|
|
|
return pht('Real-Time Updates and Alerts');
|
2014-02-17 16:00:19 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
public function getRoutes() {
|
|
|
|
return array(
|
|
|
|
'/notification/' => array(
|
|
|
|
'(?:(?P<filter>all|unread)/)?'
|
|
|
|
=> 'PhabricatorNotificationListController',
|
|
|
|
'panel/' => 'PhabricatorNotificationPanelController',
|
|
|
|
'individual/' => 'PhabricatorNotificationIndividualController',
|
|
|
|
'status/' => 'PhabricatorNotificationStatusController',
|
|
|
|
'clear/' => 'PhabricatorNotificationClearController',
|
2014-02-17 16:00:33 -08:00
|
|
|
'test/' => 'PhabricatorNotificationTestController',
|
2014-02-17 16:00:19 -08:00
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function shouldAppearInLaunchView() {
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|