Page MenuHomestyx hydra

DivinerAtomListController.php
No OneTemporary

DivinerAtomListController.php

<?php
final class DivinerAtomListController extends DivinerController
implements PhabricatorApplicationSearchResultsControllerInterface {
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($request))
->setQueryKey($this->key)
->setSearchEngine(new DivinerAtomSearchEngine())
->setNavigation($this->buildSideNavView());
return $this->delegateToController($controller);
}
public function renderResultsList(array $symbols) {
return $this->renderAtomList($symbols);
}
}

File Metadata

Mime Type
text/x-php
Expires
Thu, Jul 3, 2:01 PM (3 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
165855
Default Alt Text
DivinerAtomListController.php (770 B)

Event Timeline