Page MenuHomestyx hydra

PhabricatorBarePageExample.php
No OneTemporary

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

File Metadata

Mime Type
text/x-php
Expires
Tue, May 26, 10:13 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1552229
Default Alt Text
PhabricatorBarePageExample.php (520 B)

Event Timeline