Page MenuHomestyx hydra

PhabricatorBarePageUIExample.php
No OneTemporary

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
Tue, May 26, 10:13 PM (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1552221
Default Alt Text
PhabricatorBarePageUIExample.php (532 B)

Event Timeline