1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 12:00:55 +01:00

Increase visibility of PhabricatorController::buildApplicationMenu methods

Summary: Ref T6822. This method needs to be `public` because it is called from `PhabricatorApplicationSearchController::buildApplicationMenu()`.

Test Plan: I wouldn't expect //increasing// method visibility to break anything.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T6822

Differential Revision: https://secure.phabricator.com/D11416
This commit is contained in:
Joshua Spence 2015-01-16 07:41:26 +11:00
parent 4135752490
commit c2ac63e9ad
32 changed files with 32 additions and 32 deletions

View file

@ -18,7 +18,7 @@ abstract class PhabricatorAuditController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -16,7 +16,7 @@ abstract class PhabricatorAuthProviderConfigController
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView($for_app = true)->getMenu();
}

View file

@ -425,7 +425,7 @@ abstract class PhabricatorController extends AphrontController {
array_filter($phids));
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return null;
}

View file

@ -20,7 +20,7 @@ abstract class PhabricatorCalendarController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -20,7 +20,7 @@ abstract class PhabricatorConduitController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -26,7 +26,7 @@ abstract class PhabricatorConfigController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(null, true)->getMenu();
}

View file

@ -4,7 +4,7 @@ abstract class ConpherenceController extends PhabricatorController {
private $conpherences;
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
$nav = new PHUIListView();
$nav->newLink(

View file

@ -21,7 +21,7 @@ abstract class PhabricatorCountdownController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView($for_app = true)->getMenu();
}

View file

@ -29,7 +29,7 @@ abstract class DifferentialController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -7,7 +7,7 @@ abstract class DivinerController extends PhabricatorController {
return AphrontSideNavFilterView::newFromMenu($menu);
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildMenu();
}

View file

@ -4,7 +4,7 @@ abstract class DrydockController extends PhabricatorController {
public abstract function buildSideNavView();
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -37,7 +37,7 @@ abstract class PhabricatorFeedController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -7,7 +7,7 @@ abstract class PhabricatorFileController extends PhabricatorController {
return AphrontSideNavFilterView::newFromMenu($menu);
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildMenu($for_devices = true);
}

View file

@ -39,7 +39,7 @@ final class HarbormasterBuildableListController extends HarbormasterController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -40,7 +40,7 @@ final class HarbormasterPlanListController extends HarbormasterPlanController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -16,7 +16,7 @@ abstract class HeraldController extends PhabricatorController {
return $response->setContent($page->render());
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -22,7 +22,7 @@ abstract class LegalpadController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNav(true)->getMenu();
}

View file

@ -20,7 +20,7 @@ abstract class PhabricatorMacroController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView($for_app = true)->getMenu();
}

View file

@ -21,7 +21,7 @@ abstract class PhabricatorMailingListsController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -17,7 +17,7 @@ abstract class PhabricatorApplicationsController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -58,7 +58,7 @@ abstract class PhabricatorOwnersController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -21,7 +21,7 @@ abstract class PassphraseController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -21,7 +21,7 @@ abstract class PhabricatorPasteController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -28,7 +28,7 @@ abstract class PhabricatorPeopleController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}

View file

@ -103,7 +103,7 @@ abstract class PhameController extends PhabricatorController {
return $stories;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->renderSideNavFilterView()->getMenu();
}

View file

@ -33,7 +33,7 @@ abstract class PholioController extends PhabricatorController {
return $crumbs;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -22,7 +22,7 @@ abstract class PhrictionController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -34,7 +34,7 @@ abstract class ReleephController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -355,7 +355,7 @@ final class PhabricatorApplicationSearchController
));
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->getDelegatingController()->buildApplicationMenu();
}

View file

@ -151,7 +151,7 @@ final class PhabricatorSettingsMainController
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
$panels = $this->buildPanels();
return $this->renderSideNav($panels)->getMenu();
}

View file

@ -22,7 +22,7 @@ abstract class PhabricatorSlowvoteController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNavView(true)->getMenu();
}

View file

@ -13,7 +13,7 @@ abstract class PhabricatorTokenController extends PhabricatorController {
return $nav;
}
protected function buildApplicationMenu() {
public function buildApplicationMenu() {
return $this->buildSideNav()->getMenu();
}