Zend Framework
1.12
|
Public Member Functions | |
__construct ($return=null, $type=null) | |
Constructor. | |
setEncoding ($encoding) | |
Set encoding to use in response. | |
getEncoding () | |
Retrieve current response encoding. | |
setReturnValue ($value, $type=null) | |
Set the return value. | |
getReturnValue () | |
Retrieve the return value. | |
isFault () | |
Is the response a fault response? | |
getFault () | |
Returns the fault, if any. | |
loadXml ($response) | |
Load a response from an XML response. | |
saveXml () | |
Return response as XML. | |
__toString () | |
Return XML response. | |
Protected Member Functions | |
_getXmlRpcReturn () | |
Retrieve the XMLRPC value for the return value. | |
Protected Attributes | |
$_return | |
$_type | |
$_encoding = 'UTF-8' | |
$_fault = null | |
__construct | ( | $return = null , |
|
$type = null |
|||
) |
Constructor.
Can optionally pass in the return value and type hinting; otherwise, the return value can be set via setReturnValue().
mixed | $return | |
string | $type |
__toString | ( | ) |
Return XML response.
|
protected |
Retrieve the XMLRPC value for the return value.
getEncoding | ( | ) |
Retrieve current response encoding.
getFault | ( | ) |
Returns the fault, if any.
getReturnValue | ( | ) |
Retrieve the return value.
isFault | ( | ) |
Is the response a fault response?
loadXml | ( | $response | ) |
Load a response from an XML response.
Attempts to load a response from an XMLRPC response, autodetecting if it is a fault response.
string | $response |
saveXml | ( | ) |
Return response as XML.
setEncoding | ( | $encoding | ) |
setReturnValue | ( | $value, | |
$type = null |
|||
) |
Set the return value.
Sets the return value, with optional type hinting if provided.
mixed | $value | |
string | $type |
|
protected |
|
protected |
|
protected |
|
protected |