Changeset View
Changeset View
Standalone View
Standalone View
src/applications/xhprof/controller/PhabricatorXHProfController.php
| <?php | <?php | ||||
| abstract class PhabricatorXHProfController extends PhabricatorController { | abstract class PhabricatorXHProfController extends PhabricatorController { | ||||
| public function buildStandardPageResponse($view, array $data) { | public function buildStandardPageResponse($view, array $data) { | ||||
| $page = $this->buildStandardPageView(); | $page = $this->buildStandardPageView(); | ||||
| $page->setApplicationName('XHProf'); | $page->setApplicationName(pht('XHProf')); | ||||
| $page->setBaseURI('/xhprof/'); | $page->setBaseURI('/xhprof/'); | ||||
| $page->setTitle(idx($data, 'title')); | $page->setTitle(idx($data, 'title')); | ||||
| $page->setGlyph("\xE2\x98\x84"); | $page->setGlyph("\xE2\x98\x84"); | ||||
| $page->appendChild($view); | $page->appendChild($view); | ||||
| $page->setDeviceReady(true); | $page->setDeviceReady(true); | ||||
| $response = new AphrontWebpageResponse(); | $response = new AphrontWebpageResponse(); | ||||
| Show All 11 Lines | |||||