[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diviner/controller/ -> DivinerAtomListController.php (source)

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


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