[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/maniphest/controller/ -> ManiphestTaskListController.php (source)

   1  <?php
   2  
   3  final class ManiphestTaskListController
   4    extends ManiphestController {
   5  
   6    private $queryKey;
   7  
   8    public function shouldAllowPublic() {
   9      return true;
  10    }
  11  
  12    public function willProcessRequest(array $data) {
  13      $this->queryKey = idx($data, 'queryKey');
  14    }
  15  
  16    public function processRequest() {
  17      $controller = id(new PhabricatorApplicationSearchController())
  18        ->setQueryKey($this->queryKey)
  19        ->setSearchEngine(
  20          id(new ManiphestTaskSearchEngine())
  21            ->setShowBatchControls(true))
  22        ->setNavigation($this->buildSideNavView());
  23  
  24      return $this->delegateToController($controller);
  25    }
  26  
  27  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1