HTTP response
Container for accessing an XMLRPC return value and creating the XML response.
uses | |
---|---|
category | Zend |
package | Zend_XmlRpc |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
version | $Id$ |
inherited_from | \Zend_XmlRpc_Response |
__construct(mixed $return= null
, string $type= null
) : void
Can optionally pass in the return value and type hinting; otherwise, the return value can be set via \setReturnValue().
mixed
string
__toString() : string
inherited_from | \Zend_XmlRpc_Response::__toString() |
---|
string
__toString() : string
string
getEncoding() : string
string
getFault() : null | \Zend_XmlRpc_Fault
null
\Zend_XmlRpc_Fault
getReturnValue() : mixed
mixed
isFault() : boolean
boolean
loadXml(string $response) : boolean
Attempts to load a response from an XMLRPC response, autodetecting if it is a fault response.
string
boolean
True if a valid XMLRPC response, false if a fault
response or invalid inputsaveXml() : string
string
setEncoding(string $encoding) : \Zend_XmlRpc_Response
string
\Zend_XmlRpc_Response
setReturnValue(mixed $value, string $type = null
) : void
Sets the return value, with optional type hinting if provided.
mixed
string
_getXmlRpcReturn() : \Zend_XmlRpc_Value
\Zend_XmlRpc_Value
$_encoding : string
'UTF-8'
$_fault : null | \Zend_XmlRpc_Fault
null
$_return : mixed
$_type : string