Moodle  2.2.1
http://www.collinsharper.com
moodle_zend_soap_server Class Reference
Inheritance diagram for moodle_zend_soap_server:
Collaboration diagram for moodle_zend_soap_server:

Public Member Functions

 fault ($fault=null, $code="Receiver")

Detailed Description

The Zend XMLRPC server but with a fault that returns debuginfo

Definition at line 32 of file locallib.php.


Member Function Documentation

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.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations