Class Zend_XmlRpc_Response

Description

XmlRpc Response

Container for accessing an XMLRPC return value and creating the XML response.

  • usedby: Zend_XmlRpc_Response_Http
  • version: $Id: Response.php 1246 2006-10-11 18:42:06Z matthew $
  • license: New BSD License
  • copyright: Copyright (c) 2006 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Zend/XmlRpc/Response.php (line 42)


	
			
Direct descendents
Class Description
Zend_XmlRpc_Response_Http HTTP response
Variable Summary
Method Summary
void __construct ([mixed $return = null], [string $type = null])
mixed getReturnValue ()
boolean isFault ()
boolean loadXml (string $response)
void setReturnValue (mixed $value, [string $type = null])
Zend_XmlRpc_Value _getXmlRpcReturn ()
string __toString ()
Variables
null|Zend_XmlRpc_Fault $_fault = null (line 60)

Fault, if response is a fault response

  • access: protected
mixed $_return (line 48)

Return value

  • access: protected
string $_type (line 54)

Return type

  • access: protected
Methods
Constructor __construct (line 72)

Constructor

Can optionally pass in the return value and type hinting; otherwise, the return value can be set via setReturnValue().

  • access: public
void __construct ([mixed $return = null], [string $type = null])
  • mixed $return
  • string $type
getReturnValue (line 97)

Retrieve the return value

  • access: public
mixed getReturnValue ()
isFault (line 117)

Is the response a fault response?

  • access: public
boolean isFault ()
loadXml (line 132)

Load a response from an XML response

Attempts to load a response from an XMLRPC response, autodetecting if it is a fault response.

  • return: True if a valid XMLRPC response, false if a fault response or invalid input
  • access: public
boolean loadXml (string $response)
  • string $response
setReturnValue (line 86)

Set the return value

Sets the return value, with optional type hinting if provided.

  • access: public
void setReturnValue (mixed $value, [string $type = null])
  • mixed $value
  • string $type
_getXmlRpcReturn (line 107)

Retrieve the XMLRPC value for the return value

  • access: protected
Zend_XmlRpc_Value _getXmlRpcReturn ()
__toString (line 181)

Create XML response

  • access: public
string __toString ()

Redefined in descendants as:

Documentation generated on Sun, 29 Oct 2006 21:28:02 -0600 by phpDocumentor 1.3.0RC6