1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 08:52:39 +01:00

Fix method visibility for PhabricatorApplicationSearchEngine methods

Summary: Ref T6822.

Test Plan: Visual inspection. These methods are only called from within the `PhabricatorApplicationSearchEngine` class.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11242
This commit is contained in:
Joshua Spence 2015-01-07 07:34:51 +11:00
parent 367918aac1
commit e448386d39
51 changed files with 91 additions and 91 deletions

View file

@ -31,7 +31,7 @@ final class AlmanacDeviceSearchEngine
return '/almanac/device/'.$path; return '/almanac/device/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Devices'), 'all' => pht('All Devices'),
); );

View file

@ -31,7 +31,7 @@ final class AlmanacNetworkSearchEngine
return '/almanac/network/'.$path; return '/almanac/network/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Networks'), 'all' => pht('All Networks'),
); );

View file

@ -31,7 +31,7 @@ final class AlmanacServiceSearchEngine
return '/almanac/service/'.$path; return '/almanac/service/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Services'), 'all' => pht('All Services'),
); );

View file

@ -122,7 +122,7 @@ final class PhabricatorCommitSearchEngine
return '/audit/'.$path; return '/audit/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -7,7 +7,7 @@ final class PhabricatorCalendarEventSearchEngine
return pht('Calendar Events'); return pht('Calendar Events');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorCalendarApplication'; return 'PhabricatorCalendarApplication';
} }
@ -143,7 +143,7 @@ final class PhabricatorCalendarEventSearchEngine
return '/calendar/event/'.$path; return '/calendar/event/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'upcoming' => pht('Upcoming Events'), 'upcoming' => pht('Upcoming Events'),
'all' => pht('All Events'), 'all' => pht('All Events'),

View file

@ -7,7 +7,7 @@ final class PhabricatorConduitSearchEngine
return pht('Conduit Methods'); return pht('Conduit Methods');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorConduitApplication'; return 'PhabricatorConduitApplication';
} }
@ -112,7 +112,7 @@ final class PhabricatorConduitSearchEngine
return '/conduit/'.$path; return '/conduit/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'modern' => pht('Modern Methods'), 'modern' => pht('Modern Methods'),
'all' => pht('All Methods'), 'all' => pht('All Methods'),

View file

@ -7,7 +7,7 @@ final class PhabricatorCountdownSearchEngine
return pht('Countdowns'); return pht('Countdowns');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorCountdownApplication'; return 'PhabricatorCountdownApplication';
} }
@ -68,7 +68,7 @@ final class PhabricatorCountdownSearchEngine
return '/countdown/'.$path; return '/countdown/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'upcoming' => pht('Upcoming'), 'upcoming' => pht('Upcoming'),
'all' => pht('All'), 'all' => pht('All'),

View file

@ -7,7 +7,7 @@ final class PhabricatorDashboardPanelSearchEngine
return pht('Dashboard Panels'); return pht('Dashboard Panels');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDashboardApplication'; return 'PhabricatorDashboardApplication';
} }
@ -59,7 +59,7 @@ final class PhabricatorDashboardPanelSearchEngine
return '/dashboard/panel/'.$path; return '/dashboard/panel/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active Panels'), 'active' => pht('Active Panels'),
'all' => pht('All Panels'), 'all' => pht('All Panels'),

View file

@ -7,7 +7,7 @@ final class PhabricatorDashboardSearchEngine
return pht('Dashboards'); return pht('Dashboards');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDashboardApplication'; return 'PhabricatorDashboardApplication';
} }
@ -29,7 +29,7 @@ final class PhabricatorDashboardSearchEngine
return '/dashboard/'.$path; return '/dashboard/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Dashboards'), 'all' => pht('All Dashboards'),
); );

View file

@ -7,7 +7,7 @@ final class DifferentialRevisionSearchEngine
return pht('Differential Revisions'); return pht('Differential Revisions');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDifferentialApplication'; return 'PhabricatorDifferentialApplication';
} }
@ -200,7 +200,7 @@ final class DifferentialRevisionSearchEngine
return '/differential/'.$path; return '/differential/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -6,7 +6,7 @@ final class DivinerAtomSearchEngine extends PhabricatorApplicationSearchEngine {
return pht('Documentation Atoms'); return pht('Documentation Atoms');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDivinerApplication'; return 'PhabricatorDivinerApplication';
} }
@ -73,7 +73,7 @@ final class DivinerAtomSearchEngine extends PhabricatorApplicationSearchEngine {
return '/diviner/'.$path; return '/diviner/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All'), 'all' => pht('All'),
); );

View file

@ -7,7 +7,7 @@ final class DrydockBlueprintSearchEngine
return pht('Drydock Blueprints'); return pht('Drydock Blueprints');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDrydockApplication'; return 'PhabricatorDrydockApplication';
} }
@ -27,7 +27,7 @@ final class DrydockBlueprintSearchEngine
return '/drydock/blueprint/'.$path; return '/drydock/blueprint/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Blueprints'), 'all' => pht('All Blueprints'),
); );
@ -45,7 +45,7 @@ final class DrydockBlueprintSearchEngine
return parent::buildSavedQueryFromBuiltin($query_key); return parent::buildSavedQueryFromBuiltin($query_key);
} }
public function renderResultList( protected function renderResultList(
array $blueprints, array $blueprints,
PhabricatorSavedQuery $query, PhabricatorSavedQuery $query,
array $handles) { array $handles) {

View file

@ -7,7 +7,7 @@ final class DrydockLeaseSearchEngine
return pht('Drydock Leases'); return pht('Drydock Leases');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDrydockApplication'; return 'PhabricatorDrydockApplication';
} }
@ -57,7 +57,7 @@ final class DrydockLeaseSearchEngine
return '/drydock/lease/'.$path; return '/drydock/lease/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active Leases'), 'active' => pht('Active Leases'),
'all' => pht('All Leases'), 'all' => pht('All Leases'),

View file

@ -6,7 +6,7 @@ final class DrydockLogSearchEngine extends PhabricatorApplicationSearchEngine {
return pht('Drydock Logs'); return pht('Drydock Logs');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDrydockApplication'; return 'PhabricatorDrydockApplication';
} }
@ -26,7 +26,7 @@ final class DrydockLogSearchEngine extends PhabricatorApplicationSearchEngine {
return '/drydock/log/'.$path; return '/drydock/log/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Logs'), 'all' => pht('All Logs'),
); );

View file

@ -7,7 +7,7 @@ final class DrydockResourceSearchEngine
return pht('Drydock Resources'); return pht('Drydock Resources');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDrydockApplication'; return 'PhabricatorDrydockApplication';
} }
@ -56,7 +56,7 @@ final class DrydockResourceSearchEngine
return '/drydock/resource/'.$path; return '/drydock/resource/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active Resources'), 'active' => pht('Active Resources'),
'all' => pht('All Resources'), 'all' => pht('All Resources'),

View file

@ -101,7 +101,7 @@ final class PhabricatorFeedSearchEngine
return '/feed/'.$path; return '/feed/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Stories'), 'all' => pht('All Stories'),
); );

View file

@ -7,7 +7,7 @@ final class PhabricatorFileSearchEngine
return pht('Files'); return pht('Files');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorFilesApplication'; return 'PhabricatorFilesApplication';
} }
@ -86,7 +86,7 @@ final class PhabricatorFileSearchEngine
return '/file/'.$path; return '/file/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -7,7 +7,7 @@ final class PhabricatorFlagSearchEngine
return pht('Flags'); return pht('Flags');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorFlagsApplication'; return 'PhabricatorFlagsApplication';
} }
@ -71,7 +71,7 @@ final class PhabricatorFlagSearchEngine
return '/flag/'.$path; return '/flag/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('Flagged'), 'all' => pht('Flagged'),
); );

View file

@ -18,7 +18,7 @@ final class FundBackerSearchEngine
return pht('Fund Backers'); return pht('Fund Backers');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorFundApplication'; return 'PhabricatorFundApplication';
} }
@ -86,7 +86,7 @@ final class FundBackerSearchEngine
} }
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
$names['all'] = pht('All Backers'); $names['all'] = pht('All Backers');

View file

@ -7,7 +7,7 @@ final class FundInitiativeSearchEngine
return pht('Fund Initiatives'); return pht('Fund Initiatives');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorFundApplication'; return 'PhabricatorFundApplication';
} }
@ -86,7 +86,7 @@ final class FundInitiativeSearchEngine
return '/fund/'.$path; return '/fund/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
$names['open'] = pht('Open Initiatives'); $names['open'] = pht('Open Initiatives');

View file

@ -7,7 +7,7 @@ final class HarbormasterBuildPlanSearchEngine
return pht('Harbormaster Build Plans'); return pht('Harbormaster Build Plans');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorHarbormasterApplication'; return 'PhabricatorHarbormasterApplication';
} }
@ -58,7 +58,7 @@ final class HarbormasterBuildPlanSearchEngine
return '/harbormaster/plan/'.$path; return '/harbormaster/plan/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active Plans'), 'active' => pht('Active Plans'),
'all' => pht('All Plans'), 'all' => pht('All Plans'),

View file

@ -7,7 +7,7 @@ final class HarbormasterBuildableSearchEngine
return pht('Harbormaster Buildables'); return pht('Harbormaster Buildables');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorHarbormasterApplication'; return 'PhabricatorHarbormasterApplication';
} }
@ -159,7 +159,7 @@ final class HarbormasterBuildableSearchEngine
return '/harbormaster/'.$path; return '/harbormaster/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Buildables'), 'all' => pht('All Buildables'),
); );

View file

@ -6,7 +6,7 @@ final class HeraldRuleSearchEngine extends PhabricatorApplicationSearchEngine {
return pht('Herald Rules'); return pht('Herald Rules');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorHeraldApplication'; return 'PhabricatorHeraldApplication';
} }
@ -103,7 +103,7 @@ final class HeraldRuleSearchEngine extends PhabricatorApplicationSearchEngine {
return '/herald/'.$path; return '/herald/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -7,7 +7,7 @@ final class HeraldTranscriptSearchEngine
return pht('Herald Transcripts'); return pht('Herald Transcripts');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorHeraldApplication'; return 'PhabricatorHeraldApplication';
} }
@ -74,7 +74,7 @@ final class HeraldTranscriptSearchEngine
return '/herald/transcript/'.$path; return '/herald/transcript/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All'), 'all' => pht('All'),
); );

View file

@ -7,7 +7,7 @@ final class LegalpadDocumentSearchEngine
return pht('Legalpad Documents'); return pht('Legalpad Documents');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorLegalpadApplication'; return 'PhabricatorLegalpadApplication';
} }
@ -120,7 +120,7 @@ final class LegalpadDocumentSearchEngine
return '/legalpad/'.$path; return '/legalpad/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -9,7 +9,7 @@ final class LegalpadDocumentSignatureSearchEngine
return pht('Legalpad Signatures'); return pht('Legalpad Signatures');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorLegalpadApplication'; return 'PhabricatorLegalpadApplication';
} }
@ -123,7 +123,7 @@ final class LegalpadDocumentSignatureSearchEngine
} }
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Signatures'), 'all' => pht('All Signatures'),
); );

View file

@ -7,7 +7,7 @@ final class PhabricatorMacroSearchEngine
return pht('Macros'); return pht('Macros');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorMacroApplication'; return 'PhabricatorMacroApplication';
} }
@ -128,7 +128,7 @@ final class PhabricatorMacroSearchEngine
return '/macro/'.$path; return '/macro/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'active' => pht('Active'), 'active' => pht('Active'),
'all' => pht('All'), 'all' => pht('All'),

View file

@ -7,7 +7,7 @@ final class PhabricatorMailingListSearchEngine
return pht('Mailing Lists'); return pht('Mailing Lists');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorMailingListsApplication'; return 'PhabricatorMailingListsApplication';
} }
@ -38,7 +38,7 @@ final class PhabricatorMailingListSearchEngine
return '/mailinglists/'.$path; return '/mailinglists/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Lists'), 'all' => pht('All Lists'),
); );

View file

@ -34,7 +34,7 @@ final class ManiphestTaskSearchEngine
return pht('Tasks'); return pht('Tasks');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorManiphestApplication'; return 'PhabricatorManiphestApplication';
} }
@ -437,7 +437,7 @@ final class ManiphestTaskSearchEngine
return '/maniphest/'.$path; return '/maniphest/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -7,7 +7,7 @@ final class PhabricatorAppSearchEngine
return pht('Applications'); return pht('Applications');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorApplicationsApplication'; return 'PhabricatorApplicationsApplication';
} }
@ -136,7 +136,7 @@ final class PhabricatorAppSearchEngine
return '/applications/'.$path; return '/applications/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'launcher' => pht('Launcher'), 'launcher' => pht('Launcher'),
'all' => pht('All Applications'), 'all' => pht('All Applications'),

View file

@ -7,7 +7,7 @@ final class PhabricatorNotificationSearchEngine
return pht('Notifications'); return pht('Notifications');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorNotificationsApplication'; return 'PhabricatorNotificationsApplication';
} }
@ -52,7 +52,7 @@ final class PhabricatorNotificationSearchEngine
return '/notification/'.$path; return '/notification/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Notifications'), 'all' => pht('All Notifications'),

View file

@ -7,7 +7,7 @@ final class PhabricatorOAuthServerClientSearchEngine
return pht('OAuth Clients'); return pht('OAuth Clients');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorOAuthServerApplication'; return 'PhabricatorOAuthServerApplication';
} }
@ -55,7 +55,7 @@ final class PhabricatorOAuthServerClientSearchEngine
return '/oauthserver/'.$path; return '/oauthserver/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -7,7 +7,7 @@ final class PassphraseCredentialSearchEngine
return pht('Passphrase Credentials'); return pht('Passphrase Credentials');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPassphraseApplication'; return 'PhabricatorPassphraseApplication';
} }
@ -67,7 +67,7 @@ final class PassphraseCredentialSearchEngine
return '/passphrase/'.$path; return '/passphrase/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active Credentials'), 'active' => pht('Active Credentials'),
'all' => pht('All Credentials'), 'all' => pht('All Credentials'),

View file

@ -98,7 +98,7 @@ final class PhabricatorPasteSearchEngine
return '/paste/'.$path; return '/paste/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Pastes'), 'all' => pht('All Pastes'),
); );

View file

@ -7,7 +7,7 @@ final class PhabricatorPeopleLogSearchEngine
return pht('Account Activity'); return pht('Account Activity');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPeopleApplication'; return 'PhabricatorPeopleApplication';
} }
@ -152,7 +152,7 @@ final class PhabricatorPeopleLogSearchEngine
return '/people/logs/'.$path; return '/people/logs/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All'), 'all' => pht('All'),
); );

View file

@ -7,7 +7,7 @@ final class PhabricatorPeopleSearchEngine
return pht('Users'); return pht('Users');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPeopleApplication'; return 'PhabricatorPeopleApplication';
} }
@ -163,7 +163,7 @@ final class PhabricatorPeopleSearchEngine
return '/people/'.$path; return '/people/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All'), 'all' => pht('All'),
); );

View file

@ -6,7 +6,7 @@ final class PholioMockSearchEngine extends PhabricatorApplicationSearchEngine {
return pht('Pholio Mocks'); return pht('Pholio Mocks');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPholioApplication'; return 'PhabricatorPholioApplication';
} }
@ -71,7 +71,7 @@ final class PholioMockSearchEngine extends PhabricatorApplicationSearchEngine {
return '/pholio/'.$path; return '/pholio/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'open' => pht('Open Mocks'), 'open' => pht('Open Mocks'),
'all' => pht('All Mocks'), 'all' => pht('All Mocks'),

View file

@ -102,7 +102,7 @@ final class PhortuneCartSearchEngine
} }
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Orders'), 'all' => pht('All Orders'),
); );

View file

@ -69,7 +69,7 @@ final class PhortuneChargeSearchEngine
} }
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Charges'), 'all' => pht('All Charges'),
); );

View file

@ -27,7 +27,7 @@ final class PhortuneMerchantSearchEngine
return '/phortune/merchant/'.$path; return '/phortune/merchant/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'all' => pht('All Merchants'), 'all' => pht('All Merchants'),
); );

View file

@ -6,7 +6,7 @@ final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine {
return pht('Phrequent Time'); return pht('Phrequent Time');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPhrequentApplication'; return 'PhabricatorPhrequentApplication';
} }
@ -91,7 +91,7 @@ final class PhrequentSearchEngine extends PhabricatorApplicationSearchEngine {
return '/phrequent/'.$path; return '/phrequent/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'tracking' => pht('Currently Tracking'), 'tracking' => pht('Currently Tracking'),
'all' => pht('All Tracked'), 'all' => pht('All Tracked'),

View file

@ -59,7 +59,7 @@ final class PhrictionSearchEngine
return '/phriction/'.$path; return '/phriction/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'active' => pht('Active'), 'active' => pht('Active'),
'updated' => pht('Updated'), 'updated' => pht('Updated'),

View file

@ -7,7 +7,7 @@ final class PonderQuestionSearchEngine
return pht('Ponder Questions'); return pht('Ponder Questions');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorPonderApplication'; return 'PhabricatorPonderApplication';
} }
@ -95,7 +95,7 @@ final class PonderQuestionSearchEngine
return '/ponder/'.$path; return '/ponder/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'open' => pht('Open Questions'), 'open' => pht('Open Questions'),
'all' => pht('All Questions'), 'all' => pht('All Questions'),

View file

@ -7,7 +7,7 @@ final class PhabricatorProjectSearchEngine
return pht('Projects'); return pht('Projects');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorProjectApplication'; return 'PhabricatorProjectApplication';
} }
@ -145,7 +145,7 @@ final class PhabricatorProjectSearchEngine
return '/project/'.$path; return '/project/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array(); $names = array();
if ($this->requireViewer()->isLoggedIn()) { if ($this->requireViewer()->isLoggedIn()) {

View file

@ -56,7 +56,7 @@ final class ReleephBranchSearchEngine
return '/releeph/product/'.$this->getProduct()->getID().'/'.$path; return '/releeph/product/'.$this->getProduct()->getID().'/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'open' => pht('Open'), 'open' => pht('Open'),
'all' => pht('All'), 'all' => pht('All'),

View file

@ -7,7 +7,7 @@ final class ReleephProductSearchEngine
return pht('Releeph Products'); return pht('Releeph Products');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorReleephApplication'; return 'PhabricatorReleephApplication';
} }
@ -49,7 +49,7 @@ final class ReleephProductSearchEngine
return '/releeph/project/'.$path; return '/releeph/project/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'active' => pht('Active'), 'active' => pht('Active'),
'all' => pht('All'), 'all' => pht('All'),

View file

@ -94,7 +94,7 @@ final class ReleephRequestSearchEngine
return $this->baseURI.$path; return $this->baseURI.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'open' => pht('Open Requests'), 'open' => pht('Open Requests'),
'all' => pht('All Requests'), 'all' => pht('All Requests'),

View file

@ -7,7 +7,7 @@ final class PhabricatorRepositoryPushLogSearchEngine
return pht('Push Logs'); return pht('Push Logs');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDiffusionApplication'; return 'PhabricatorDiffusionApplication';
} }
@ -90,7 +90,7 @@ final class PhabricatorRepositoryPushLogSearchEngine
return '/diffusion/pushlog/'.$path; return '/diffusion/pushlog/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Push Logs'), 'all' => pht('All Push Logs'),
); );

View file

@ -7,7 +7,7 @@ final class PhabricatorRepositorySearchEngine
return pht('Repositories'); return pht('Repositories');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorDiffusionApplication'; return 'PhabricatorDiffusionApplication';
} }
@ -149,7 +149,7 @@ final class PhabricatorRepositorySearchEngine
return '/diffusion/'.$path; return '/diffusion/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'active' => pht('Active Repositories'), 'active' => pht('Active Repositories'),
'all' => pht('All Repositories'), 'all' => pht('All Repositories'),

View file

@ -7,7 +7,7 @@ final class PhabricatorSearchApplicationSearchEngine
return pht('Fulltext Results'); return pht('Fulltext Results');
} }
public function getApplicationClassName() { protected function getApplicationClassName() {
return 'PhabricatorSearchApplication'; return 'PhabricatorSearchApplication';
} }
@ -169,7 +169,7 @@ final class PhabricatorSearchApplicationSearchEngine
return '/search/'.$path; return '/search/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
return array( return array(
'all' => pht('All Documents'), 'all' => pht('All Documents'),
'open' => pht('Open Documents'), 'open' => pht('Open Documents'),

View file

@ -85,7 +85,7 @@ final class PhabricatorSlowvoteSearchEngine
return '/vote/'.$path; return '/vote/'.$path;
} }
public function getBuiltinQueryNames() { protected function getBuiltinQueryNames() {
$names = array( $names = array(
'open' => pht('Open Polls'), 'open' => pht('Open Polls'),
'all' => pht('All Polls'), 'all' => pht('All Polls'),
@ -119,7 +119,7 @@ final class PhabricatorSlowvoteSearchEngine
return parent::buildSavedQueryFromBuiltin($query_key); return parent::buildSavedQueryFromBuiltin($query_key);
} }
public function getRequiredHandlePHIDsForResultList( protected function getRequiredHandlePHIDsForResultList(
array $polls, array $polls,
PhabricatorSavedQuery $query) { PhabricatorSavedQuery $query) {
return mpull($polls, 'getAuthorPHID'); return mpull($polls, 'getAuthorPHID');