1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-30 16:38:21 +01:00
phorge-phorge/src/applications/phid/controller/PhabricatorPHIDController.php

19 lines
468 B
PHP
Raw Normal View History

2011-01-22 21:09:13 -08:00
<?php
abstract class PhabricatorPHIDController extends PhabricatorController {
public function buildStandardPageResponse($view, array $data) {
2011-01-26 13:21:12 -08:00
$page = $this->buildStandardPageView();
2011-01-22 21:09:13 -08:00
$page->setApplicationName('PHID');
$page->setBaseURI('/phid/');
$page->setTitle(idx($data, 'title'));
$page->setGlyph('#');
$page->appendChild($view);
$response = new AphrontWebpageResponse();
return $response->setContent($page->render());
}
}