/** * 404 not found を返したいときに使用します。 * @return string */ public function exit404($message = 'Page Not Found.') { header("HTTP/1.1 404 Not Found"); print $message; $this->request->completeResponse(); return NULL; }
/** * Responseの完了をセットします。 * */ public function completeResponse() { $this->request->completeResponse(); }