Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98769778
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
Thu, Jan 16, 08:03
Size
591 B
Mime Type
text/x-php
Expires
Sat, Jan 18, 08:03 (2 d)
Engine
blob
Format
Raw Data
Handle
23641718
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