Zend Framework
1.12
|
Public Member Functions | |
__construct ($code=404, $message= '') | |
Constructor. | |
setCode ($code) | |
Set the fault code. | |
getCode () | |
Return fault code. | |
setMessage ($message) | |
Retrieve fault message. | |
getMessage () | |
Retrieve fault message. | |
setEncoding ($encoding) | |
Set encoding to use in fault response. | |
getEncoding () | |
Retrieve current fault encoding. | |
loadXml ($fault) | |
Load an XMLRPC fault from XML. | |
saveXml () | |
Serialize fault to XML. | |
__toString () | |
Return XML fault response. | |
Static Public Member Functions | |
static | isFault ($xml) |
Determine if an XML response is an XMLRPC fault. | |
Protected Attributes | |
$_code | |
$_encoding = 'UTF-8' | |
$_message | |
$_internal | |
__construct | ( | $code = 404 , |
|
$message = '' |
|||
) |
Constructor.
__toString | ( | ) |
Return XML fault response.
getCode | ( | ) |
Return fault code.
getEncoding | ( | ) |
Retrieve current fault encoding.
getMessage | ( | ) |
Retrieve fault message.
|
static |
Determine if an XML response is an XMLRPC fault.
string | $xml |
loadXml | ( | $fault | ) |
Load an XMLRPC fault from XML.
string | $fault |
Zend_XmlRpc_Exception | if no or faulty XML provided, or if fault response does not contain either code or message |
saveXml | ( | ) |
Serialize fault to XML.
setCode | ( | $code | ) |
setEncoding | ( | $encoding | ) |
setMessage | ( | $message | ) |
|
protected |
|
protected |
|
protected |
|
protected |