1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-08 21:08:29 +01:00
phorge-phorge/src/applications/notification/application/PhabricatorNotificationsApplication.php

39 lines
892 B
PHP
Raw Normal View History

<?php
final class PhabricatorNotificationsApplication extends PhabricatorApplication {
public function getName() {
return pht('Notifications');
}
public function getBaseURI() {
return '/notification/';
}
public function getShortDescription() {
return pht('Real-Time Updates and Alerts');
}
public function getIcon() {
return 'fa-bell';
}
public function getRoutes() {
return array(
'/notification/' => array(
'(?:query/(?P<queryKey>[^/]+)/)?'
=> 'PhabricatorNotificationListController',
'panel/' => 'PhabricatorNotificationPanelController',
'individual/' => 'PhabricatorNotificationIndividualController',
'clear/' => 'PhabricatorNotificationClearController',
'test/' => 'PhabricatorNotificationTestController',
),
);
}
public function isLaunchable() {
return false;
}
}