Zend Framework
1.12
|
Public Member Functions | |
__construct (Exception $e) | |
Constructor. | |
getException () | |
Retrieve the exception. | |
![]() | |
__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 | getInstance (Exception $e) |
Return Zend_XmlRpc_Server_Fault instance. | |
static | attachFaultException ($classes) |
Attach valid exceptions that can be used to define xmlrpc faults. | |
static | detachFaultException ($classes) |
Detach fault exception classes. | |
static | attachObserver ($class) |
Attach an observer class. | |
static | detachObserver ($class) |
Detach an observer. | |
![]() | |
static | isFault ($xml) |
Determine if an XML response is an XMLRPC fault. | |
Protected Attributes | |
$_exception | |
![]() | |
$_code | |
$_encoding = 'UTF-8' | |
$_message | |
$_internal | |
Static Protected Attributes | |
static | $_faultExceptionClasses = array('Zend_XmlRpc_Server_Exception' => true) |
static | $_observers = array() |
__construct | ( | Exception | $e | ) |
|
static |
Attach valid exceptions that can be used to define xmlrpc faults.
string | array | $classes | Class name or array of class names |
|
static |
Attach an observer class.
Allows observation of xmlrpc server faults, thus allowing logging or mail notification of fault responses on the xmlrpc server.
Expects a valid class name; that class must have a public static method 'observe' that accepts an exception as its sole argument.
string | $class |
|
static |
Detach fault exception classes.
string | array | $classes | Class name or array of class names |
|
static |
Detach an observer.
string | $class |
getException | ( | ) |
Retrieve the exception.
public
|
static |
|
protected |
|
staticprotected |
|
staticprotected |