Page MenuHomec4science

PhabricatorBarePageUIExample.php
No OneTemporary

File Metadata

Created
Sun, May 11, 04:01

PhabricatorBarePageUIExample.php

<?php
final class PhabricatorBarePageUIExample extends PhabricatorUIExample {
public function getName() {
return pht('Bare Page');
}
public function getDescription() {
return pht('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