mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
b0623305b7
Summary: Add some missing methods from D10027. Test Plan: Viewed `/applications/query/all/` without hitting exceptions. Reviewers: joshuaspence Subscribers: epriestley, hach-que Differential Revision: https://secure.phabricator.com/D10029
50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<?php
|
|
|
|
final class PhabricatorOwnersApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Owners');
|
|
}
|
|
|
|
public function getBaseURI() {
|
|
return '/owners/';
|
|
}
|
|
|
|
public function getIconName() {
|
|
return 'owners';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Own Source Code');
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x98\x81";
|
|
}
|
|
|
|
public function getHelpURI() {
|
|
return PhabricatorEnv::getDoclink('Owners Tool User Guide');
|
|
}
|
|
|
|
public function getFlavorText() {
|
|
return pht('Adopt today!');
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_UTILITIES;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/owners/' => array(
|
|
'' => 'PhabricatorOwnersListController',
|
|
'view/(?P<view>[^/]+)/' => 'PhabricatorOwnersListController',
|
|
'edit/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersEditController',
|
|
'new/' => 'PhabricatorOwnersEditController',
|
|
'package/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDetailController',
|
|
'delete/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDeleteController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|