Page MenuHomestyx hydra

PholioMockListController.php
No OneTemporary

PholioMockListController.php

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

File Metadata

Mime Type
text/x-php
Expires
Wed, Nov 5, 3:44 PM (14 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
311466
Default Alt Text
PholioMockListController.php (609 B)

Event Timeline