__construct()
__toString()
getEncoding()
getFault()
getReturnValue()
isFault()
loadXml()
saveXml()
setEncoding()
setReturnValue()
_getXmlRpcReturn()
$encoding
$fault
$return
$type
XmlRpc Response
Container for accessing an XMLRPC return value and creating the XML response.
__construct(mixed $return, string $type)
Can optionally pass in the return value and type hinting; otherwise, the return value can be set via setReturnValue().
mixed
string
__toString() : string
string
getEncoding() : string
string
getReturnValue() : mixed
mixed
isFault() : bool
bool
loadXml(string $response) : bool
Attempts to load a response from an XMLRPC response, autodetecting if it is a fault response.
string
\Zend\XmlRpc\Exception\ValueException |
if invalid XML |
---|
bool
True if a valid XMLRPC response, false if a fault response or invalid inputsaveXml() : string
string
setReturnValue(mixed $value, string $type) : void
Sets the return value, with optional type hinting if provided.
mixed
string
_getXmlRpcReturn() : \Zend\XmlRpc\AbstractValue
$encoding : string
$return : mixed
$type : string