예제 #1
0
 /**
  * sends out the json response of an jsonapi\errors object to the browser
  * 
  * @see errors->send_response()
  */
 public function send_response($content_type = null, $encode_options = null, $response = null)
 {
     $jsonapi = new errors($this, $this->friendly_message, $this->about_link);
     $jsonapi->send_response($content_type, $encode_options, $response);
     exit;
 }