[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 abstract class PhabricatorRepositoryController extends PhabricatorController { 4 5 public function shouldRequireAdmin() { 6 // Most of these controllers are admin-only. 7 return true; 8 } 9 10 public function buildStandardPageResponse($view, array $data) { 11 $page = $this->buildStandardPageView(); 12 13 $page->setApplicationName('Repositories'); 14 $page->setBaseURI('/repository/'); 15 $page->setTitle(idx($data, 'title')); 16 $page->setGlyph('rX'); 17 $page->appendChild($view); 18 19 20 $response = new AphrontWebpageResponse(); 21 return $response->setContent($page->render()); 22 } 23 24 }
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 |