ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
ilBMFWSDL_Parser ($uri, &$wsdl, $docs=false) | |
constructor | |
parse ($uri) | |
startElement ($parser, $name, $attrs) | |
start-element handler | |
endElement ($parser, $name) | |
end-element handler. | |
characterData ($parser, $data) | |
Element content handler. | |
mergeUrl ($parsed, $path) | |
$parsed is an array returned by parse_url(). | |
_normalize ($path_str) | |
Public Member Functions inherited from ilBMFBase | |
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 | |
$currentMessage | |
Define internal arrays of bindings, ports, operations, messages, etc. | |
$currentOperation | |
$currentPortType | |
$currentBinding | |
$currentPort | |
$cache | |
Parser vars. | |
$tns = null | |
$soapns = array('soap') | |
$uri = '' | |
$wsdl = null | |
$status = '' | |
$element_stack = array() | |
$parentElement = '' | |
$schema = '' | |
$schemaStatus = '' | |
$schema_stack = array() | |
$currentComplexType | |
$schema_element_stack = array() | |
$currentElement | |
Data Fields inherited from ilBMFBase | |
$_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 1017 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::_normalize | ( | $path_str | ) |
Definition at line 1824 of file class.ilBMFWSDL.php.
Referenced by mergeUrl().
ilBMFWSDL_Parser::characterData | ( | $parser, | |
$data | |||
) |
Element content handler.
Definition at line 1729 of file class.ilBMFWSDL.php.
References $currentBinding, $currentComplexType, $currentElement, $currentMessage, $currentOperation, $currentPortType, $data, and $schema.
ilBMFWSDL_Parser::endElement | ( | $parser, | |
$name | |||
) |
end-element handler.
Definition at line 1682 of file class.ilBMFWSDL.php.
References $currentComplexType, $name, $schema, and elseif().
ilBMFWSDL_Parser::ilBMFWSDL_Parser | ( | $uri, | |
& | $wsdl, | ||
$docs = false |
|||
) |
constructor
Definition at line 1054 of file class.ilBMFWSDL.php.
References $uri, $wsdl, ilBMFBase\ilBMFBase(), and parse().
ilBMFWSDL_Parser::mergeUrl | ( | $parsed, | |
$path | |||
) |
$parsed is an array returned by parse_url().
private
Definition at line 1786 of file class.ilBMFWSDL.php.
References $uri, _normalize(), and elseif().
Referenced by startElement().
ilBMFWSDL_Parser::parse | ( | $uri | ) |
Definition at line 1064 of file class.ilBMFWSDL.php.
References $uri, ilBMFBase_Object\_raiseSoapFault(), and PEAR\isError().
Referenced by ilBMFWSDL_Parser().
ilBMFWSDL_Parser::startElement | ( | $parser, | |
$name, | |||
$attrs | |||
) |
start-element handler
Definition at line 1094 of file class.ilBMFWSDL.php.
References $currentBinding, $currentComplexType, $currentElement, $currentMessage, $currentOperation, $currentPort, $currentPortType, $key, $location, $name, $namespace, $parentElement, $q, $schema, $uri, ilBMFBase_Object\_raiseSoapFault(), elseif(), mergeUrl(), SCHEMA_DIME, SCHEMA_MIME, SCHEMA_SOAP, SCHEMA_WSDL, SCHEMA_WSDL_HTTP, and SOAP_SCHEMA.
ilBMFWSDL_Parser::$cache |
Parser vars.
Definition at line 1033 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$currentBinding |
Definition at line 1027 of file class.ilBMFWSDL.php.
Referenced by characterData(), and startElement().
ilBMFWSDL_Parser::$currentComplexType |
Definition at line 1047 of file class.ilBMFWSDL.php.
Referenced by characterData(), endElement(), and startElement().
ilBMFWSDL_Parser::$currentElement |
Definition at line 1049 of file class.ilBMFWSDL.php.
Referenced by characterData(), and startElement().
ilBMFWSDL_Parser::$currentMessage |
Define internal arrays of bindings, ports, operations, messages, etc.
Definition at line 1024 of file class.ilBMFWSDL.php.
Referenced by characterData(), and startElement().
ilBMFWSDL_Parser::$currentOperation |
Definition at line 1025 of file class.ilBMFWSDL.php.
Referenced by characterData(), and startElement().
ilBMFWSDL_Parser::$currentPort |
Definition at line 1028 of file class.ilBMFWSDL.php.
Referenced by startElement().
ilBMFWSDL_Parser::$currentPortType |
Definition at line 1026 of file class.ilBMFWSDL.php.
Referenced by characterData(), and startElement().
ilBMFWSDL_Parser::$element_stack = array() |
Definition at line 1041 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$parentElement = '' |
Definition at line 1042 of file class.ilBMFWSDL.php.
Referenced by startElement().
ilBMFWSDL_Parser::$schema = '' |
Definition at line 1044 of file class.ilBMFWSDL.php.
Referenced by characterData(), endElement(), and startElement().
ilBMFWSDL_Parser::$schema_element_stack = array() |
Definition at line 1048 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$schema_stack = array() |
Definition at line 1046 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$schemaStatus = '' |
Definition at line 1045 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$soapns = array('soap') |
Definition at line 1036 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$status = '' |
Definition at line 1040 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$tns = null |
Definition at line 1035 of file class.ilBMFWSDL.php.
ilBMFWSDL_Parser::$uri = '' |
Definition at line 1037 of file class.ilBMFWSDL.php.
Referenced by ilBMFWSDL_Parser(), mergeUrl(), parse(), and startElement().
ilBMFWSDL_Parser::$wsdl = null |
Definition at line 1038 of file class.ilBMFWSDL.php.
Referenced by ilBMFWSDL_Parser().