__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
stringgetCode() : int
intgetEncoding() : string
stringgetMessage() : string
stringisFault(string $xml) : bool
string
boolloadXml(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 |
|---|
boolReturns true if successfully loaded fault response, false if response was not a fault responsesaveXml() : string
string$code : int
$encoding : string
$internal : array