示例#1
0
 /**
  * 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;
 }
示例#2
0
 /**
  * Responseの完了をセットします。
  *
  */
 public function completeResponse()
 {
     $this->request->completeResponse();
 }