Inheritance diagram for ilBMFBase_Object:
Collaboration diagram for ilBMFBase_Object:Public Member Functions | |
| ilBMFBase_Object ($faultcode= 'Client') | |
| Constructor. | |
| & | _raiseSoapFault ($str, $detail= '', $actorURI= '', $code=null, $mode=null, $options=null, $skipmsg=false) |
| Raise a soap error. | |
| __isfault () | |
| & | __getfault () |
| _debug ($string) | |
| maintains a string of debug data | |
Data Fields | |
| $_debug_flag = false | |
| $_debug_data = '' | |
| $_encodings = array('ISO-8859-1','US-ASCII','UTF-8') | |
| $_myfaultcode = '' | |
| $fault = NULL | |
Definition at line 125 of file class.ilBMFBase.php.
| & ilBMFBase_Object::__getfault | ( | ) |
Definition at line 214 of file class.ilBMFBase.php.
{
return $this->fault;
}
| ilBMFBase_Object::__isfault | ( | ) |
Definition at line 209 of file class.ilBMFBase.php.
{
return $this->fault != NULL;
}
| ilBMFBase_Object::_debug | ( | $ | string | ) |
maintains a string of debug data
| debugging | message - sometimes an error message |
Definition at line 224 of file class.ilBMFBase.php.
{
if ($this->_debug_flag) {
$this->_debug_data .= get_class($this) . ': ' . preg_replace("/>/", ">\r\n", $string) . "\n";
}
}
| & ilBMFBase_Object::_raiseSoapFault | ( | $ | str, | |
| $ | detail = '', |
|||
| $ | actorURI = '', |
|||
| $ | code = null, |
|||
| $ | mode = null, |
|||
| $ | options = null, |
|||
| $ | skipmsg = false | |||
| ) |
Raise a soap error.
Please referr 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 | error message | |
| string | detailed error message. | |
| string | actor | |
| mixed | ||
| mixed | ||
| mixed | ||
| boolean |
Definition at line 190 of file class.ilBMFBase.php.
References $fault.
Referenced by ilBMFServer::__decodeRequest(), ilBMFWSDL_ObjectParser::_parse(), ilBMFServer_Email::_parseEmail(), ilBMFTransport_HTTP::_parseResponse(), ilBMFTransport_HTTP::_sendHTTP(), ilBMFTransport_HTTP::_sendHTTPS(), ilBMFBase::_setSchemaVersion(), ilBMFTransport_TCP::_validateUrl(), ilBMFTransport_SMTP::_validateUrl(), ilBMFTransport_HTTP::_validateUrl(), ilBMFServer::addObjectMap(), ilBMFServer::addObjectWSDL(), ilBMFServer::addToMap(), ilBMFServer::bindWSDL(), ilBMFServer_Email::client(), ilBMFWSDL_Cache::get(), ilBMFWSDL::getEndpoint(), ilBMFWSDL::getOperationData(), ilBMFWSDL::getPortName(), ilBMFParser::getResponse(), ilBMFTransport::getTransport(), ilBMFParser::ilBMFParser(), ilBMFWSDL_ObjectParser::ilBMFWSDL_ObjectParser(), ilBMFWSDL_Parser::parse(), ilBMFWSDL::parseObject(), ilBMFServer::parseRequest(), ilBMFWSDL::parseURL(), ilBMFServer_TCP::run(), ilBMFTransport_TCP::send(), ilBMFTransport_SMTP::send(), ilBMFTransport_HTTP::send(), ilBMFServer_Email_Gateway::service(), ilBMFServer_Email::service(), ilBMFServer::service(), ilBMFWSDL_Parser::startElement(), and ilBMFServer::verifyMethod().
{
# pass through previous faults
$is_instance = isset($this);
if (is_object($str)) {
$fault =& $str;
} else {
if (!$code) $code = $is_instance?$this->_myfaultcode:'Client';
$fault =& new ilBMFFault($str,
$code,
$actorURI,
$detail,
$mode,
$options);
}
if ($is_instance) $this->fault =& $fault;
return $fault;
}
Here is the caller graph for this function:| ilBMFBase_Object::ilBMFBase_Object | ( | $ | faultcode = 'Client' |
) |
Constructor.
| string | error code |
Definition at line 166 of file class.ilBMFBase.php.
References $GLOBALS.
Referenced by ilBMFBase::ilBMFBase(), ilBMFDISCO_Server::ilBMFDISCO_Server(), and ilBMFTransport_TCP::ilBMFTransport_TCP().
{
$this->_myfaultcode = $faultcode;
$this->_debug_flag = $GLOBALS['SOAP_DEBUG'];
parent::PEAR('ilBMFFault');
}
Here is the caller graph for this function:| ilBMFBase_Object::$_debug_data = '' |
Definition at line 142 of file class.ilBMFBase.php.
| ilBMFBase_Object::$_debug_flag = false |
Definition at line 133 of file class.ilBMFBase.php.
| ilBMFBase_Object::$_encodings = array('ISO-8859-1','US-ASCII','UTF-8') |
Definition at line 145 of file class.ilBMFBase.php.
| ilBMFBase_Object::$_myfaultcode = '' |
Definition at line 151 of file class.ilBMFBase.php.
| ilBMFBase_Object::$fault = NULL |
Definition at line 158 of file class.ilBMFBase.php.
Referenced by _raiseSoapFault().
1.7.1