Page MenuHomec4science

PhabricatorMailingListsListController.php
No OneTemporary

File Metadata

Created
Mon, Dec 2, 02:23

PhabricatorMailingListsListController.php

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

Event Timeline