[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/differential/controller/ -> DifferentialRevisionListController.php (source)

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


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