Page MenuHomec4science

PhabricatorBarePageUIExample.php
No OneTemporary

File Metadata

Created
Mon, Dec 23, 10:50

PhabricatorBarePageUIExample.php

<?php
final class PhabricatorBarePageUIExample 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