Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/notification/application/PhabricatorNotificationsApplication.php
12256 views
1
<?php
2
3
final class PhabricatorNotificationsApplication extends PhabricatorApplication {
4
5
public function getName() {
6
return pht('Notifications');
7
}
8
9
public function getBaseURI() {
10
return '/notification/';
11
}
12
13
public function getShortDescription() {
14
return pht('Real-Time Updates and Alerts');
15
}
16
17
public function getIcon() {
18
return 'fa-bell';
19
}
20
21
public function getRoutes() {
22
return array(
23
'/notification/' => array(
24
'(?:query/(?P<queryKey>[^/]+)/)?'
25
=> 'PhabricatorNotificationListController',
26
'panel/' => 'PhabricatorNotificationPanelController',
27
'individual/' => 'PhabricatorNotificationIndividualController',
28
'clear/' => 'PhabricatorNotificationClearController',
29
'test/' => 'PhabricatorNotificationTestController',
30
),
31
);
32
}
33
34
public function isLaunchable() {
35
return false;
36
}
37
38
}
39
40