Page MenuHomePhorge

PhabricatorBarePageUIExample.php
No OneTemporary

Size
532 B
Referenced Files
None
Subscribers
None

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;
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, May 4, 12:12 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
62728
Default Alt Text
PhabricatorBarePageUIExample.php (532 B)

Event Timeline