mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
4a901c788d
Summary: pht Test Plan: diff review, test shortcuts. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5991
18 lines
473 B
PHP
18 lines
473 B
PHP
<?php
|
|
|
|
abstract class PhabricatorHelpController extends PhabricatorController {
|
|
|
|
public function buildStandardPageResponse($view, array $data) {
|
|
$page = $this->buildStandardPageView();
|
|
|
|
$page->setApplicationName(pht('Help'));
|
|
$page->setBaseURI('/help/');
|
|
$page->setTitle(idx($data, 'title'));
|
|
$page->setGlyph('?');
|
|
$page->appendChild($view);
|
|
|
|
$response = new AphrontWebpageResponse();
|
|
return $response->setContent($page->render());
|
|
}
|
|
|
|
}
|