__construct()
__toString()
getCode()
getEncoding()
getMessage()
isFault()
loadXml()
saveXml()
setCode()
setEncoding()
setMessage()
$code
$encoding
$internal
$message
XMLRPC Faults
Container for XMLRPC faults, containing both a code and a message; additionally, has methods for determining if an XML response is an XMLRPC fault, as well as generating the XML for an XMLRPC fault response.
To allow method chaining, you may only use the getInstance() factory to instantiate a Zend\XmlRpc\Server\Fault.
__construct(int $code, string $message)
int
string
__toString() : string
string
getCode() : int
int
getEncoding() : string
string
getMessage() : string
string
isFault(string $xml) : bool
string
bool
loadXml(string $fault) : bool
string
\Zend\XmlRpc\Exception\ExceptionInterface |
if no or faulty XML provided, or if fault response does not contain either code or message |
---|
bool
Returns true if successfully loaded fault response, false if response was not a fault responsesaveXml() : string
string
$code : int
$encoding : string
$internal : array