Page MenuHomec4science

PhabricatorAuditController.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 20:14

PhabricatorAuditController.php

<?php
abstract class PhabricatorAuditController extends PhabricatorController {
public function buildSideNavView() {
$user = $this->getRequest()->getUser();
$nav = new AphrontSideNavFilterView();
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
id(new PhabricatorCommitSearchEngine())
->setViewer($user)
->addNavigationItems($nav->getMenu());
$nav->selectFilter(null);
return $nav;
}
public function buildApplicationMenu() {
return $this->buildSideNavView()->getMenu();
}
}

Event Timeline