3 final class Phame404Response
extends AphrontHTMLResponse
{
7 public function setPage(AphrontPageView
$page) {
12 public function getPage() {
16 public function getHTTPResponseCode() {
20 public function buildResponseString() {
21 require_celerity_resource('phame-css');
23 $not_found = phutil_tag(
26 'class' => 'phame-404',
29 phutil_tag('strong', array(), pht('404 Not Found')),
31 pht('Wherever you go, there you are.'),
33 pht('But the page you seek is elsewhere.'),
36 $page = $this->getPage()
37 ->setTitle(pht('404 Not Found'))
38 ->appendChild($not_found);
40 return $page->render();