Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/feed/application/PhabricatorFeedApplication.php
12241 views
1
<?php
2
3
final class PhabricatorFeedApplication extends PhabricatorApplication {
4
5
public function getBaseURI() {
6
return '/feed/';
7
}
8
9
public function getName() {
10
return pht('Feed');
11
}
12
13
public function getShortDescription() {
14
return pht('Review Recent Activity');
15
}
16
17
public function getIcon() {
18
return 'fa-newspaper-o';
19
}
20
21
public function getApplicationGroup() {
22
return self::GROUP_UTILITIES;
23
}
24
25
public function canUninstall() {
26
return false;
27
}
28
29
public function getRoutes() {
30
return array(
31
'/feed/' => array(
32
'(?P<id>\d+)/' => 'PhabricatorFeedDetailController',
33
'(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorFeedListController',
34
'transactions/' => array(
35
$this->getQueryRoutePattern()
36
=> 'PhabricatorFeedTransactionListController',
37
),
38
),
39
);
40
}
41
42
}
43
44