예제 #1
0
파일: ClientTest.php 프로젝트: lortnus/zf1
 public function getServerResponseFor($nativeVars)
 {
     $response = new Zend_XmlRpc_Response();
     $response->setReturnValue($nativeVars);
     $xml = $response->saveXML();
     $response = $this->makeHttpResponseFrom($xml);
     return $response;
 }
예제 #2
0
 /**
  * saveXML() test
  */
 public function testSaveXML()
 {
     $this->_response->setReturnValue('return value');
     $xml = $this->_response->saveXML();
     $this->_testXmlResponse($xml);
 }