Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96671689
AphrontRequestFailureView.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 29, 17:01
Size
591 B
Mime Type
text/x-php
Expires
Tue, Dec 31, 17:01 (2 d)
Engine
blob
Format
Raw Data
Handle
23143219
Attached To
rPH Phabricator
AphrontRequestFailureView.php
View Options
<?php
final
class
AphrontRequestFailureView
extends
AphrontView
{
private
$header
;
public
function
setHeader
(
$header
)
{
$this
->
header
=
$header
;
return
$this
;
}
final
public
function
render
()
{
require_celerity_resource
(
'aphront-request-failure-view-css'
);
return
hsprintf
(
'<div class="aphront-request-failure-view">'
.
'<div class="aphront-request-failure-head">'
.
'<h1>%s</h1>'
.
'</div>'
.
'<div class="aphront-request-failure-body">%s</div>'
.
'</div>'
,
$this
->
header
,
$this
->
renderChildren
());
}
}
Event Timeline
Log In to Comment