Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F121363282
Aphront404Response.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, Jul 10, 07:38
Size
570 B
Mime Type
text/x-php
Expires
Sat, Jul 12, 07:38 (2 d)
Engine
blob
Format
Raw Data
Handle
27262804
Attached To
rPH Phabricator
Aphront404Response.php
View Options
<?php
final
class
Aphront404Response
extends
AphrontHTMLResponse
{
public
function
getHTTPResponseCode
()
{
return
404
;
}
public
function
buildResponseString
()
{
$failure
=
new
AphrontRequestFailureView
();
$failure
->
setHeader
(
'404 Not Found'
);
$failure
->
appendChild
(
phutil_tag
(
'p'
,
array
(),
pht
(
'The page you requested was not found.'
)));
$view
=
new
PhabricatorStandardPageView
();
$view
->
setTitle
(
'404 Not Found'
);
$view
->
setRequest
(
$this
->
getRequest
());
$view
->
appendChild
(
$failure
);
return
$view
->
render
();
}
}
Event Timeline
Log In to Comment