2099.1. Zend\XmlRpc\Response
XmlRpc Response
Container for accessing an XMLRPC return value and creating the XML response.
2099.1.1. Methods
2099.1.1.1. __construct
-
__construct()
Constructor
Can optionally pass in the return value and type hinting; otherwise, the
return value can be set via {@link setReturnValue()}.
2099.1.1.2. setEncoding
-
setEncoding()
Set encoding to use in response
Parameters: | string – |
Return type: | ZendXmlRpcResponse |
2099.1.1.3. getEncoding
-
getEncoding()
Retrieve current response encoding
2099.1.1.4. setReturnValue
-
setReturnValue()
Set the return value
Sets the return value, with optional type hinting if provided.
Parameters: |
|
Return type: | void
|
2099.1.1.5. getReturnValue
-
getReturnValue()
Retrieve the return value
2099.1.1.6. _getXmlRpcReturn
-
_getXmlRpcReturn()
Retrieve the XMLRPC value for the return value
Return type: | ZendXmlRpcAbstractValue |
2099.1.1.7. isFault
-
isFault()
Is the response a fault response?
2099.1.1.8. getFault
-
getFault()
Returns the fault, if any.
Return type: | null|ZendXmlRpcFault |
2099.1.1.9. loadXml
-
loadXml()
Load a response from an XML response
Attempts to load a response from an XMLRPC response, autodetecting if it
is a fault response.
Parameters: | string – |
Throws ExceptionValueException: |
| if invalid XML |
Return type: | bool True if a valid XMLRPC response, false if a fault |
response or invalid input
2099.1.1.10. saveXml
-
saveXml()
Return response as XML
2099.1.1.11. __toString
-
__toString()
Return XML response