Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F436747
PhabricatorBarePageUIExample.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
532 B
Referenced Files
None
Subscribers
None
PhabricatorBarePageUIExample.php
View Options
<?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
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 12:12 AM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
62728
Default Alt Text
PhabricatorBarePageUIExample.php (532 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment