コード例 #1
0
ファイル: Api_Object.php プロジェクト: huslage/Ushahidi_Web
 /**
  * Sets the response type
  *
  * @param $type Type of response for the output data
  */
 public function set_response_type($type)
 {
     // Set the response type for the API library object
     $this->response_type = $type;
     // Set the response type for the API service
     $this->api_service->set_response_type($type);
 }