|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| fault ($fault=null, $code="Receiver") | |
The Zend XMLRPC server but with a fault that returns debuginfo
Definition at line 32 of file locallib.php.
| fault | ( | $ | fault = null, |
| $ | code = "Receiver" |
||
| ) |
Generate a server fault
Note that the arguments are reverse to those of SoapFault.
Moodle note: the difference with the Zend server is that we throw a SoapFault exception with the debuginfo integrated to the exception message when DEBUG >= NORMAL
If an exception is passed as the first argument, its message and code will be used to create the fault object if it has been registered via { registerFaultException()}.
string|Exception $fault string $code SOAP Fault Codes SoapFault
Reimplemented from Zend_Soap_Server.
Definition at line 51 of file locallib.php.
