ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
ilBMFBase_Object ($faultcode= 'Client') | |
Constructor. | |
& | _raiseSoapFault ($str, $detail= '', $actorURI= '', $code=null, $mode=null, $options=null, $skipmsg=false) |
Raises a SOAP error. | |
__isfault () | |
& | __getfault () |
_debug ($string) | |
Adds a string to the debug data. | |
Public Member Functions inherited from PEAR | |
PEAR ($error_class=null) | |
Constructor. | |
_PEAR () | |
Destructor (the emulated type of...). | |
& | getStaticProperty ($class, $var) |
If you have a class that's mostly/entirely static, and you need static properties, you can use this method to simulate them. | |
registerShutdownFunc ($func, $args=array()) | |
Use this function to register a shutdown method for static classes. | |
isError ($data, $code=null) | |
Tell whether a value is a PEAR error. | |
setErrorHandling ($mode=null, $options=null) | |
Sets how errors generated by this object should be handled. | |
expectError ($code= '*') | |
This method is used to tell which errors you expect to get. | |
popExpect () | |
This method pops one element off the expected error codes stack. | |
_checkDelExpect ($error_code) | |
This method checks unsets an error code if available. | |
delExpect ($error_code) | |
This method deletes all occurences of the specified element from the expected error codes stack. | |
& | raiseError ($message=null, $code=null, $mode=null, $options=null, $userinfo=null, $error_class=null, $skipmsg=false) |
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. | |
& | throwError ($message=null, $code=null, $userinfo=null) |
Simpler form of raiseError with fewer options. | |
staticPushErrorHandling ($mode, $options=null) | |
staticPopErrorHandling () | |
pushErrorHandling ($mode, $options=null) | |
Push a new error handler on top of the error handler options stack. | |
popErrorHandling () | |
Pop the last error handler used. | |
loadExtension ($ext) | |
OS independant PHP extension load. |
Data Fields | |
$_debug_flag = false | |
Store debugging information in $_debug_data? | |
$_debug_data = '' | |
String containing debugging information if $_debug_flag is true. | |
$_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') | |
Supported encodings, limited by XML extension. | |
$_myfaultcode = '' | |
Fault code. | |
$fault = null | |
Recent PEAR_Error object. | |
Data Fields inherited from PEAR | |
$_debug = false | |
$_default_error_mode = null | |
$_default_error_options = null | |
$_default_error_handler = '' | |
$_error_class = 'PEAR_Error' | |
$_expected_errors = array() |
Definition at line 119 of file class.ilBMFBase.php.
& ilBMFBase_Object::__getfault | ( | ) |
Definition at line 221 of file class.ilBMFBase.php.
References $fault.
Referenced by ilBMFWSDL\generateProxyCode(), ilBMFWSDL\getEndpoint(), ilBMFWSDL\getNamespace(), ilBMFWSDL\getOperationData(), ilBMFWSDL\getPortName(), ilBMFWSDL\getProxy(), ilBMFWSDL\getSoapAction(), and ilBMFWSDL\matchMethod().
ilBMFBase_Object::__isfault | ( | ) |
Definition at line 216 of file class.ilBMFBase.php.
Referenced by ilBMFWSDL\generateProxyCode(), ilBMFWSDL\getEndpoint(), ilBMFWSDL\getNamespace(), ilBMFWSDL\getOperationData(), ilBMFWSDL\getPortName(), ilBMFWSDL\getProxy(), ilBMFWSDL\getSoapAction(), and ilBMFWSDL\matchMethod().
ilBMFBase_Object::_debug | ( | $string | ) |
Adds a string to the debug data.
string | $string | Debugging message. |
Definition at line 231 of file class.ilBMFBase.php.
& ilBMFBase_Object::_raiseSoapFault | ( | $str, | |
$detail = '' , |
|||
$actorURI = '' , |
|||
$code = null , |
|||
$mode = null , |
|||
$options = null , |
|||
$skipmsg = false |
|||
) |
Raises a SOAP error.
Please refer to the SOAP definition for an impression of what a certain parameter stands for.
Use $debug_flag to store errors to the member variable $debug_data
string | object | $str | Error message or object. |
string | $detail | Detailed error message. |
string | $actorURI | |
mixed | $code | |
mixed | $mode | |
mixed | $options | |
boolean | $skipmsg |
Definition at line 191 of file class.ilBMFBase.php.
References $fault.
Referenced by ilBMFWSDL_ObjectParser\_parse(), ilBMFTransport_HTTP\_parseResponse(), ilBMFTransport_HTTP\_sendHTTP(), ilBMFTransport_HTTP\_sendHTTPS(), ilBMFBase\_setSchemaVersion(), ilBMFTransport_TCP\_validateUrl(), ilBMFTransport_SMTP\_validateUrl(), ilBMFTransport_HTTP\_validateUrl(), ilBMFWSDL_Cache\get(), ilBMFWSDL\getEndpoint(), ilBMFWSDL\getOperationData(), ilBMFWSDL\getPortName(), ilBMFParser\getResponse(), ilBMFTransport\getTransport(), ilBMFParser\ilBMFParser(), ilBMFWSDL_ObjectParser\ilBMFWSDL_ObjectParser(), ilBMFWSDL_Parser\parse(), ilBMFWSDL\parseObject(), ilBMFWSDL\parseURL(), ilBMFTransport_SMTP\send(), ilBMFTransport_TCP\send(), ilBMFTransport_HTTP\send(), and ilBMFWSDL_Parser\startElement().
ilBMFBase_Object::ilBMFBase_Object | ( | $faultcode = 'Client' | ) |
Constructor.
string | $faultcode | Error code. |
Definition at line 166 of file class.ilBMFBase.php.
References $GLOBALS, and PEAR\PEAR().
Referenced by ilBMFBase\ilBMFBase(), and ilBMFTransport_TCP\ilBMFTransport_TCP().
string ilBMFBase_Object::$_debug_data = '' |
String containing debugging information if $_debug_flag is true.
public
Definition at line 136 of file class.ilBMFBase.php.
boolean ilBMFBase_Object::$_debug_flag = false |
Store debugging information in $_debug_data?
Definition at line 127 of file class.ilBMFBase.php.
array ilBMFBase_Object::$_encodings = array('ISO-8859-1', 'US-ASCII', 'UTF-8') |
Supported encodings, limited by XML extension.
Definition at line 143 of file class.ilBMFBase.php.
string ilBMFBase_Object::$_myfaultcode = '' |
Fault code.
Definition at line 150 of file class.ilBMFBase.php.
PEAR_Error ilBMFBase_Object::$fault = null |
Recent PEAR_Error object.
Definition at line 157 of file class.ilBMFBase.php.
Referenced by __getfault(), _raiseSoapFault(), ilBMFTransport_HTTP\_sendHTTP(), ilBMFTransport_HTTP\_sendHTTPS(), ilBMFWSDL\getProxy(), ilBMFTransport_SMTP\send(), ilBMFTransport_TCP\send(), and ilBMFTransport_HTTP\send().