mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-24 13:38:19 +01:00
20 lines
483 B
PHP
20 lines
483 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorAuditController extends PhabricatorController {
|
||
|
|
||
|
public function buildStandardPageResponse($view, array $data) {
|
||
|
|
||
|
$page = $this->buildStandardPageView();
|
||
|
|
||
|
$page->setApplicationName('Audit');
|
||
|
$page->setBaseURI('/audit/');
|
||
|
$page->setTitle(idx($data, 'title'));
|
||
|
$page->setGlyph("\xE2\x9C\x8D");
|
||
|
$page->appendChild($view);
|
||
|
|
||
|
$response = new AphrontWebpageResponse();
|
||
|
return $response->setContent($page->render());
|
||
|
|
||
|
}
|
||
|
}
|