mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 02:02:41 +01:00
28 lines
629 B
PHP
28 lines
629 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorConfigController extends PhabricatorController {
|
||
|
|
||
|
public function shouldRequireAdmin() {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
public function buildSideNavView($filter = null, $for_app = false) {
|
||
|
$user = $this->getRequest()->getUser();
|
||
|
|
||
|
$nav = new AphrontSideNavFilterView();
|
||
|
$nav->setBaseURI(new PhutilURI($this->getApplicationURI('filter/')));
|
||
|
|
||
|
return $nav;
|
||
|
}
|
||
|
|
||
|
public function buildApplicationMenu() {
|
||
|
return $this->buildSideNavView(null, true)->getMenu();
|
||
|
}
|
||
|
|
||
|
public function buildApplicationCrumbs() {
|
||
|
$crumbs = parent::buildApplicationCrumbs();
|
||
|
return $crumbs;
|
||
|
}
|
||
|
|
||
|
}
|