Differential D13811 Diff 33356 src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/application/PhabricatorHarbormasterApplication.php
| Show All 30 Lines | final class PhabricatorHarbormasterApplication extends PhabricatorApplication { | ||||
| } | } | ||||
| public function getEventListeners() { | public function getEventListeners() { | ||||
| return array( | return array( | ||||
| new HarbormasterUIEventListener(), | new HarbormasterUIEventListener(), | ||||
| ); | ); | ||||
| } | } | ||||
| public function isPrototype() { | |||||
| return true; | |||||
| } | |||||
| public function getRemarkupRules() { | public function getRemarkupRules() { | ||||
| return array( | return array( | ||||
| new HarbormasterRemarkupRule(), | new HarbormasterRemarkupRule(), | ||||
| ); | ); | ||||
| } | } | ||||
| public function getHelpDocumentationArticles(PhabricatorUser $viewer) { | |||||
| return array( | |||||
| array( | |||||
| 'name' => pht('Harbormaster User Guide'), | |||||
| 'href' => PhabricatorEnv::getDoclink('Harbormaster User Guide'), | |||||
| ), | |||||
| ); | |||||
| } | |||||
| public function getRoutes() { | public function getRoutes() { | ||||
| return array( | return array( | ||||
| '/B(?P<id>[1-9]\d*)' => 'HarbormasterBuildableViewController', | '/B(?P<id>[1-9]\d*)' => 'HarbormasterBuildableViewController', | ||||
| '/harbormaster/' => array( | '/harbormaster/' => array( | ||||
| '(?:query/(?P<queryKey>[^/]+)/)?' | '(?:query/(?P<queryKey>[^/]+)/)?' | ||||
| => 'HarbormasterBuildableListController', | => 'HarbormasterBuildableListController', | ||||
| 'step/' => array( | 'step/' => array( | ||||
| 'add/(?:(?P<id>\d+)/)?' => 'HarbormasterStepAddController', | 'add/(?:(?P<id>\d+)/)?' => 'HarbormasterStepAddController', | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||