Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F111983635
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
Tue, May 6, 12:25
Size
585 B
Mime Type
text/x-php
Expires
Thu, May 8, 12:25 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
25999435
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'
);
$head
=
phutil_tag_div
(
'aphront-request-failure-head'
,
phutil_tag
(
'h1'
,
array
(),
$this
->
header
));
$body
=
phutil_tag_div
(
'aphront-request-failure-body'
,
$this
->
renderChildren
());
return
phutil_tag_div
(
'aphront-request-failure-view'
,
array
(
$head
,
$body
));
}
}
Event Timeline
Log In to Comment