Zend\XmlRpc\Response
XmlRpc Response
Container for accessing an XMLRPC return value and creating the XML response.
Synopsis
class Response
{
- // members
- protected mixed $return;
- protected string $type;
- protected string $encoding;
- protected Fault $fault;
- // methods
- public void __construct()
- public Response setEncoding()
- public string getEncoding()
- public void setReturnValue()
- public mixed getReturnValue()
- protected AbstractValue _getXmlRpcReturn()
- public bool isFault()
- public Fault getFault()
- public bool loadXml()
- public string saveXml()
- public string __toString()
Hierarchy
Extended by
Members
protected
- $encoding
—
string
Response character encoding - $fault
—
Zend\XmlRpc\null|\Zend\XmlRpc\Fault
Fault, if response is a fault response - $return
—
mixed
Return value - $type
—
string
Return type
Methods
protected
- _getXmlRpcReturn() — Retrieve the XMLRPC value for the return value
public
- __construct() — Constructor
- __toString() — Return XML response
- getEncoding() — Retrieve current response encoding
- getFault() — Returns the fault, if any.
- getReturnValue() — Retrieve the return value
- isFault() — Is the response a fault response?
- loadXml() — Load a response from an XML response
- saveXml() — Return response as XML
- setEncoding() — Set encoding to use in response
- setReturnValue() — Set the return value