ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
ilBMFBase ($faultcode= 'Client') | |
Constructor. | |
_resetNamespaces () | |
_setSchemaVersion ($schemaVersion) | |
Sets the schema version used in the SOAP message. | |
_getNamespacePrefix ($ns) | |
_getNamespaceForPrefix ($prefix) | |
_isSoapValue (&$value) | |
_serializeValue (&$value, $name= '', $type=false, $elNamespace=NULL, $typeNamespace=NULL, $options=array(), $attributes=array(), $artype='', $OBJTypeNS=array()) | |
_getType (&$value) | |
Converts a PHP type to a SOAP type. | |
_multiArrayType (&$value, &$type, &$size, &$xml) | |
_isBase64 (&$value) | |
Returns whether a string is base64 encoded data. | |
_isBase64Type ($type) | |
Returns whether a type is a base64 type. | |
_isHash (&$a) | |
Returns whether an array is a hash. | |
_un_htmlentities ($string) | |
& | _decode (&$soapval) |
_makeEnvelope (&$method, &$headers, $encoding=SOAP_DEFAULT_ENCODING, $options=array()) | |
Creates the SOAP envelope with the SOAP envelop data. | |
_makeMimeMessage (&$xml, $encoding=SOAP_DEFAULT_ENCODING) | |
_makeDIMEMessage ($xml) | |
_decodeMimeMessage (&$data, &$headers, &$attachments) | |
_decodeDIMEMessage (&$data, &$headers, &$attachments) | |
__set_type_translation ($type, $class=null) | |
Public Member Functions inherited from ilBMFBase_Object | |
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 | |
$_XMLSchema | |
$_XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
$_typemap | |
$_defaultObjectClassname = 'stdClass' | |
Default class name to use for decoded response objects. | |
$_namespaces | |
$_namespace | |
$_xmlEntities | |
$_doconversion = false | |
$__attachments = array() | |
$_wsdl = null | |
$_section5 = true | |
True if we use section 5 encoding, or false if this is literal. | |
$_auto_translation = false | |
$_type_translation = array() | |
Data Fields inherited from ilBMFBase_Object | |
$_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 248 of file class.ilBMFBase.php.
ilBMFBase::__set_type_translation | ( | $type, | |
$class = null |
|||
) |
Definition at line 1416 of file class.ilBMFBase.php.
& ilBMFBase::_decode | ( | & | $soapval | ) |
Definition at line 1085 of file class.ilBMFBase.php.
References $_defaultObjectClassname, $t, and _isSoapValue().
ilBMFBase::_decodeDIMEMessage | ( | & | $data, |
& | $headers, | ||
& | $attachments | ||
) |
Definition at line 1380 of file class.ilBMFBase.php.
References PEAR\isError(), and SOAP_ENVELOP.
Referenced by ilBMFTransport_HTTP\_parseResponse().
ilBMFBase::_decodeMimeMessage | ( | & | $data, |
& | $headers, | ||
& | $attachments | ||
) |
Definition at line 1330 of file class.ilBMFBase.php.
Referenced by ilBMFTransport_HTTP\_parseResponse().
ilBMFBase::_getNamespaceForPrefix | ( | $prefix | ) |
Definition at line 412 of file class.ilBMFBase.php.
Referenced by ilBMFParser\startElement().
ilBMFBase::_getNamespacePrefix | ( | $ns | ) |
Definition at line 399 of file class.ilBMFBase.php.
Referenced by _serializeValue(), and ilBMFParser\startElement().
ilBMFBase::_getType | ( | & | $value | ) |
Converts a PHP type to a SOAP type.
private
string | $value | The value to inspect. |
Definition at line 873 of file class.ilBMFBase.php.
References _isBase64(), _isHash(), _isSoapValue(), and ilBMFType_hexBinary\is_hexbin().
Referenced by _multiArrayType(), and _serializeValue().
ilBMFBase::_isBase64 | ( | & | $value | ) |
Returns whether a string is base64 encoded data.
string | $value | The string to check. |
Definition at line 1026 of file class.ilBMFBase.php.
Referenced by _getType().
ilBMFBase::_isBase64Type | ( | $type | ) |
Returns whether a type is a base64 type.
string | $type | A type name. |
Definition at line 1043 of file class.ilBMFBase.php.
ilBMFBase::_isHash | ( | & | $a | ) |
Returns whether an array is a hash.
array | $a | An array to check. |
Definition at line 1055 of file class.ilBMFBase.php.
References $t, and _isSoapValue().
Referenced by _getType().
ilBMFBase::_isSoapValue | ( | & | $value | ) |
Definition at line 421 of file class.ilBMFBase.php.
Referenced by _decode(), _getType(), _isHash(), and _serializeValue().
ilBMFBase::_makeDIMEMessage | ( | $xml | ) |
Definition at line 1302 of file class.ilBMFBase.php.
References SOAP_ENVELOP.
ilBMFBase::_makeEnvelope | ( | & | $method, |
& | $headers, | ||
$encoding = SOAP_DEFAULT_ENCODING , |
|||
$options = array() |
|||
) |
Creates the SOAP envelope with the SOAP envelop data.
private
@param | array $headers | |
string | $encoding | |
array | $options |
Definition at line 1223 of file class.ilBMFBase.php.
References $options, and SOAP_SCHEMA_ENCODING.
Referenced by ilBMFTransport_SMTP\send().
ilBMFBase::_makeMimeMessage | ( | & | $xml, |
$encoding = SOAP_DEFAULT_ENCODING |
|||
) |
Definition at line 1271 of file class.ilBMFBase.php.
ilBMFBase::_multiArrayType | ( | & | $value, |
& | $type, | ||
& | $size, | ||
& | $xml | ||
) |
Definition at line 987 of file class.ilBMFBase.php.
References $size, _getType(), and _serializeValue().
Referenced by _serializeValue().
ilBMFBase::_resetNamespaces | ( | ) |
Definition at line 370 of file class.ilBMFBase.php.
Referenced by ilBMFBase().
ilBMFBase::_serializeValue | ( | & | $value, |
$name = '' , |
|||
$type = false , |
|||
$elNamespace = NULL , |
|||
$typeNamespace = NULL , |
|||
$options = array() , |
|||
$attributes = array() , |
|||
$artype = '' , |
|||
$OBJTypeNS = array() |
|||
) |
Definition at line 426 of file class.ilBMFBase.php.
References $_XMLSchemaVersion, $options, _getNamespacePrefix(), _getType(), _isSoapValue(), _multiArrayType(), and SOAP_SCHEMA_ENCODING.
Referenced by _multiArrayType().
ilBMFBase::_setSchemaVersion | ( | $schemaVersion | ) |
Sets the schema version used in the SOAP message.
private
string | $schemaVersion | The schema version. |
Definition at line 387 of file class.ilBMFBase.php.
References $_XMLSchemaVersion, and ilBMFBase_Object\_raiseSoapFault().
Referenced by ilBMFParser\ilBMFParser(), and ilBMFParser\startElement().
ilBMFBase::_un_htmlentities | ( | $string | ) |
Definition at line 1078 of file class.ilBMFBase.php.
ilBMFBase::ilBMFBase | ( | $faultcode = 'Client' | ) |
Constructor.
string | $faultcode | Error code. |
Definition at line 364 of file class.ilBMFBase.php.
References _resetNamespaces(), and ilBMFBase_Object\ilBMFBase_Object().
Referenced by ilBMFParser\ilBMFParser(), ilBMFTransport_HTTP\ilBMFTransport_HTTP(), ilBMFTransport_SMTP\ilBMFTransport_SMTP(), ilBMFWSDL\ilBMFWSDL(), ilBMFWSDL_Cache\ilBMFWSDL_Cache(), ilBMFWSDL_ObjectParser\ilBMFWSDL_ObjectParser(), and ilBMFWSDL_Parser\ilBMFWSDL_Parser().
ilBMFBase::$__attachments = array() |
Definition at line 342 of file class.ilBMFBase.php.
ilBMFBase::$_auto_translation = false |
Definition at line 354 of file class.ilBMFBase.php.
string ilBMFBase::$_defaultObjectClassname = 'stdClass' |
Default class name to use for decoded response objects.
Definition at line 328 of file class.ilBMFBase.php.
Referenced by _decode().
ilBMFBase::$_doconversion = false |
Definition at line 340 of file class.ilBMFBase.php.
ilBMFBase::$_namespace |
Definition at line 332 of file class.ilBMFBase.php.
ilBMFBase::$_namespaces |
Definition at line 331 of file class.ilBMFBase.php.
boolean ilBMFBase::$_section5 = true |
True if we use section 5 encoding, or false if this is literal.
Definition at line 351 of file class.ilBMFBase.php.
ilBMFBase::$_type_translation = array() |
Definition at line 355 of file class.ilBMFBase.php.
ilBMFBase::$_typemap |
Definition at line 255 of file class.ilBMFBase.php.
ilBMFBase::$_wsdl = null |
Definition at line 344 of file class.ilBMFBase.php.
ilBMFBase::$_xmlEntities |
Definition at line 334 of file class.ilBMFBase.php.
ilBMFBase::$_XMLSchema |
Definition at line 250 of file class.ilBMFBase.php.
ilBMFBase::$_XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' |
Definition at line 252 of file class.ilBMFBase.php.
Referenced by _serializeValue(), and _setSchemaVersion().