Page MenuHomec4science

PhabricatorConduitListController.php
No OneTemporary

File Metadata

Created
Mon, Nov 25, 14:12

PhabricatorConduitListController.php

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

Event Timeline