Page MenuHomec4science

PhabricatorApplicationsListController.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 22:41

PhabricatorApplicationsListController.php

<?php
final class PhabricatorApplicationsListController
extends PhabricatorApplicationsController {
private $queryKey;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->queryKey = idx($data, 'queryKey');
}
public function processRequest() {
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($this->queryKey)
->setSearchEngine(new PhabricatorAppSearchEngine())
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}

Event Timeline