Page MenuHomec4science

PhabricatorBarePageExample.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 12:34

PhabricatorBarePageExample.php

<?php
final class PhabricatorBarePageExample extends PhabricatorUIExample {
public function getName() {
return 'Bare Page';
}
public function getDescription() {
return 'This is a bare page.';
}
public function renderExample() {
$view = new PhabricatorBarePageView();
$view->appendChild(
phutil_tag(
'h1',
array(),
$this->getDescription()));
$response = new AphrontWebpageResponse();
$response->setContent($view->render());
return $response;
}
}

Event Timeline