Page MenuHomec4science

DivinerAtomListController.php
No OneTemporary

File Metadata

Created
Mon, Nov 25, 23:37

DivinerAtomListController.php

<?php
final class DivinerAtomListController extends DivinerController {
private $key;
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$this->key = idx($data, 'key', 'all');
}
public function processRequest() {
$request = $this->getRequest();
$controller = id(new PhabricatorApplicationSearchController())
->setQueryKey($this->key)
->setSearchEngine(new DivinerAtomSearchEngine())
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
}

Event Timeline