Page MenuHomec4science

PhabricatorAuditController.php
No OneTemporary

File Metadata

Created
Mon, Dec 2, 16:31

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