3 final class PhabricatorPhurlURLListController
4 extends PhabricatorPhurlController
{
6 public function shouldAllowPublic() {
10 public function handleRequest(AphrontRequest
$request) {
11 $engine = new PhabricatorPhurlURLSearchEngine();
12 $controller = id(new PhabricatorApplicationSearchController())
13 ->setQueryKey($request->getURIData('queryKey'))
14 ->setSearchEngine($engine)
15 ->setNavigation($this->buildSideNav());
16 return $this->delegateToController($controller);
19 public function buildSideNav() {
20 $user = $this->getRequest()->getUser();
22 $nav = new AphrontSideNavFilterView();
23 $nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
25 id(new PhabricatorPhurlURLSearchEngine())
27 ->addNavigationItems($nav->getMenu());
29 $nav->selectFilter(null);