Page MenuHomePhorge

PhabricatorBarePageUIExample.php
No OneTemporary

Size
522 B
Referenced Files
None
Subscribers
None

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

File Metadata

Mime Type
text/x-php
Expires
Thu, Jun 19, 2:46 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
241469
Default Alt Text
PhabricatorBarePageUIExample.php (522 B)

Event Timeline