Page MenuHomec4science

PhabricatorMacroListController.php
No OneTemporary

File Metadata

Created
Fri, Nov 22, 11:21

PhabricatorMacroListController.php

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

Event Timeline