[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorPeopleListController 4 extends PhabricatorPeopleController { 5 6 private $key; 7 8 public function shouldAllowPublic() { 9 return true; 10 } 11 12 public function shouldRequireAdmin() { 13 return false; 14 } 15 16 public function willProcessRequest(array $data) { 17 $this->key = idx($data, 'key'); 18 } 19 20 public function processRequest() { 21 $this->requireApplicationCapability( 22 PeopleBrowseUserDirectoryCapability::CAPABILITY); 23 24 $controller = id(new PhabricatorApplicationSearchController()) 25 ->setQueryKey($this->key) 26 ->setSearchEngine(new PhabricatorPeopleSearchEngine()) 27 ->setNavigation($this->buildSideNavView()); 28 29 return $this->delegateToController($controller); 30 } 31 32 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |