Page MenuHomec4science

HeraldRuleListController.php
No OneTemporary

File Metadata

Created
Wed, Jul 17, 06:22

HeraldRuleListController.php

<?php
final class HeraldRuleListController extends HeraldController {
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 HeraldRuleSearchEngine())
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}

Event Timeline