Exemple #1
0
 /**
  * Generates the output string that is going to be send to the calling party
  *
  * @param Xinc_Api_Response_Object $responseObject
  *
  * @return String
  */
 public function generate(Xinc_Api_Response_Object $responseObject)
 {
     $result = json_encode($responseObject->get());
     return $result;
 }
Exemple #2
0
 /**
  * Generates the output string that is going to be send to the calling party
  *
  * @param Xinc_Api_Response_Object $responseObject
  *
  * @return String
  */
 public function generate(Xinc_Api_Response_Object $responseObject)
 {
     $result = $this->_handleFileResponse($responseObject->get());
     return $result;
 }