Page MenuHomec4science

PhabricatorFlagListController.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 11:29

PhabricatorFlagListController.php

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

Event Timeline