|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for nusoap_base:
Collaboration diagram for nusoap_base:Public Member Functions | |
| __construct () | |
| constructor More... | |
| getGlobalDebugLevel () | |
| gets the global debug level, which applies to future instances More... | |
| setGlobalDebugLevel ($level) | |
| sets the global debug level, which applies to future instances More... | |
| getDebugLevel () | |
| gets the debug level for this instance More... | |
| setDebugLevel ($level) | |
| sets the debug level for this instance More... | |
| debug ($string) | |
| adds debug data to the instance debug string with formatting More... | |
| appendDebug ($string) | |
| adds debug data to the instance debug string without formatting More... | |
| clearDebug () | |
| clears the current debug data for this instance More... | |
| & | getDebug () |
| gets the current debug data for this instance More... | |
| & | getDebugAsXMLComment () |
| gets the current debug data for this instance as an XML comment this may change the contents of the debug data More... | |
| expandEntities ($val) | |
| expands entities, e.g. More... | |
| getError () | |
| returns error string if present More... | |
| setError ($str) | |
| sets error string More... | |
| isArraySimpleOrStruct ($val) | |
| detect if array is a simple array or a struct (associative array) More... | |
| serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded', $soapval=false) | |
| serializes PHP values in accordance w/ section 5. More... | |
| serializeEnvelope ($body, $headers=false, $namespaces=array(), $style='rpc', $use='encoded', $encodingStyle='http://schemas.xmlsoap.org/soap/encoding/') | |
| serializes a message More... | |
| formatDump ($str) | |
| formats a string to be inserted into an HTML stream More... | |
| contractQname ($qname) | |
| contracts (changes namespace to prefix) a qualified name More... | |
| expandQname ($qname) | |
| expands (changes prefix to namespace) a qualified name More... | |
| getLocalPart ($str) | |
| returns the local part of a prefixed string returns the original string, if not prefixed More... | |
| getPrefix ($str) | |
| returns the prefix part of a prefixed string returns false, if not prefixed More... | |
| getNamespaceFromPrefix ($prefix) | |
| pass it a prefix, it returns a namespace More... | |
| getPrefixFromNamespace ($ns) | |
| returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace More... | |
| getmicrotime () | |
| returns the time in ODBC canonical form with microseconds More... | |
| varDump ($data) | |
| Returns a string with the output of var_dump. More... | |
| __toString () | |
| represents the object as a string More... | |
Data Fields | |
| $title = 'NuSOAP' | |
| $version = '0.7.3' | |
| $revision = '$Revision$' | |
| $error_str = '' | |
| $debug_str = '' | |
| $charencoding = true | |
| $debugLevel | |
| $XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
| $soap_defencoding = 'UTF-8' | |
| $namespaces | |
| $usedNamespaces = array() | |
| $typemap | |
| $xmlEntities | |
| nusoap_base::__construct | ( | ) |
constructor
@access public
Definition at line 237 of file nusoap.php.
References $GLOBALS.
| nusoap_base::__toString | ( | ) |
represents the object as a string
Definition at line 924 of file nusoap.php.
References varDump().
Here is the call graph for this function:| nusoap_base::appendDebug | ( | $string | ) |
adds debug data to the instance debug string without formatting
| string | $string | debug data @access public |
Definition at line 305 of file nusoap.php.
Referenced by nusoap_client\__construct(), soap_transport_http\__construct(), nusoap_server\__construct(), nusoap_client\_getProxyClassCode(), nusoap_xmlschema\addComplexType(), nusoap_xmlschema\addElement(), nusoap_xmlschema\addSimpleType(), nusoap_parser\buildVal(), nusoap_client\call(), nusoap_client\checkWSDL(), soap_transport_http\connect(), debug(), wsdl\end_element(), nusoap_server\invoke_method(), wsdl\parametersMatchWrapped(), nusoap_client\parseResponse(), wsdl\parseWSDL(), nusoap_xmlschema\schemaStartElement(), nusoap_client\send(), nusoap_server\serialize_return(), serialize_val(), serializeEnvelope(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), nusoap_server\service(), wsdl\setCredentials(), nusoap_client\setCredentials(), soap_transport_http\setCredentials(), soap_transport_http\setCurlOption(), nusoap_client\setCurlOption(), nusoap_client\setHeaders(), and wsdl\start_element().
Here is the caller graph for this function:| nusoap_base::clearDebug | ( | ) |
clears the current debug data for this instance
@access public
Definition at line 319 of file nusoap.php.
Referenced by nusoap_server\__construct(), nusoap_client\call(), nusoap_client\checkWSDL(), and nusoap_server\serialize_return().
Here is the caller graph for this function:| nusoap_base::contractQname | ( | $qname | ) |
contracts (changes namespace to prefix) a qualified name
| string | $qname | qname |
Definition at line 769 of file nusoap.php.
References $name, and getPrefixFromNamespace().
Here is the call graph for this function:| nusoap_base::debug | ( | $string | ) |
adds debug data to the instance debug string with formatting
| string | $string | debug data @access private |
Definition at line 292 of file nusoap.php.
References appendDebug(), and getmicrotime().
Referenced by nusoap_client\__construct(), nusoap_xmlschema\__construct(), soap_transport_http\__construct(), wsdl\__construct(), nusoap_server\__construct(), nusoap_parser\__construct(), nusoap_client\_getProxyClassCode(), soap_transport_http\buildPayload(), nusoap_parser\buildVal(), nusoap_client\call(), nusoap_client\checkCookies(), nusoap_client\checkWSDL(), soap_transport_http\connect(), soap_transport_http\decodeChunked(), nusoap_parser\decodeSimple(), wsdl\end_element(), wsdl\fetchWSDL(), soap_transport_http\getCookiesForRequest(), nusoap_client\getOperationData(), nusoap_client\getProxy(), soap_transport_http\getResponse(), wsdl\getTypeDef(), nusoap_server\invoke_method(), nusoap_client\loadWSDL(), wsdl\parametersMatchWrapped(), nusoap_server\parse_http_headers(), nusoap_server\parse_request(), nusoap_xmlschema\parseFile(), nusoap_server\parseRequest(), nusoap_client\parseResponse(), nusoap_xmlschema\parseString(), wsdl\parseWSDL(), soap_transport_http\send(), nusoap_client\send(), nusoap_server\send_response(), soap_transport_http\sendRequest(), nusoap_server\serialize_return(), serialize_val(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), serializeEnvelope(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), nusoap_server\service(), wsdl\setCredentials(), nusoap_client\setCredentials(), soap_transport_http\setCredentials(), soap_transport_http\setCurlOption(), nusoap_client\setCurlOption(), nusoap_client\setEndpoint(), soap_transport_http\setHeader(), nusoap_client\setHeaders(), nusoap_client\setHTTPEncoding(), soap_transport_http\setProxy(), soap_transport_http\setURL(), nusoap_client\setUseCURL(), wsdl\start_element(), nusoap_parser\start_element(), soap_transport_http\unsetHeader(), nusoap_client\UpdateCookies(), nusoap_client\useHTTPPersistentConnection(), and nusoap_xmlschema\xdebug().
Here is the call graph for this function:
Here is the caller graph for this function:| nusoap_base::expandEntities | ( | $val | ) |
expands entities, e.g.
changes '<' to '<'.
| string | $val | The string in which to expand entities. @access private |
Definition at line 363 of file nusoap.php.
Referenced by serialize_val(), wsdl\serializeComplexTypeAttributes(), and wsdl\serializeType().
Here is the caller graph for this function:| nusoap_base::expandQname | ( | $qname | ) |
expands (changes prefix to namespace) a qualified name
| string | $qname | qname |
Definition at line 795 of file nusoap.php.
References $name.
Referenced by wsdl\addComplexType(), wsdl\addSimpleType(), nusoap_xmlschema\schemaStartElement(), and wsdl\start_element().
Here is the caller graph for this function:| nusoap_base::formatDump | ( | $str | ) |
formats a string to be inserted into an HTML stream
| string | $str | The string to format |
Definition at line 756 of file nusoap.php.
| & nusoap_base::getDebug | ( | ) |
gets the current debug data for this instance
Definition at line 332 of file nusoap.php.
References $debug_str.
Referenced by nusoap_server\__construct(), nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_server\fault(), and nusoap_server\serialize_return().
Here is the caller graph for this function:| & nusoap_base::getDebugAsXMLComment | ( | ) |
gets the current debug data for this instance as an XML comment this may change the contents of the debug data
Definition at line 346 of file nusoap.php.
Referenced by nusoap_server\send_response(), and nusoap_server\service().
Here is the caller graph for this function:| nusoap_base::getDebugLevel | ( | ) |
gets the debug level for this instance
Definition at line 270 of file nusoap.php.
References $debugLevel.
| nusoap_base::getError | ( | ) |
returns error string if present
Definition at line 381 of file nusoap.php.
References $error_str.
Referenced by nusoap_server\__construct(), nusoap_client\_getProxyClassCode(), nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_client\getOperationData(), nusoap_client\getProxy(), wsdl\parseWSDL(), nusoap_client\send(), and nusoap_server\serialize_return().
Here is the caller graph for this function:| nusoap_base::getGlobalDebugLevel | ( | ) |
gets the global debug level, which applies to future instances
Definition at line 248 of file nusoap.php.
References $GLOBALS.
| nusoap_base::getLocalPart | ( | $str | ) |
returns the local part of a prefixed string returns the original string, if not prefixed
| string | $str | The prefixed string |
Definition at line 821 of file nusoap.php.
Referenced by wsdl\addOperation(), nusoap_xmlschema\schemaEndElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), wsdl\serializeType(), wsdl\start_element(), nusoap_parser\start_element(), and nusoap_xmlschema\typeToForm().
Here is the caller graph for this function:| nusoap_base::getmicrotime | ( | ) |
returns the time in ODBC canonical form with microseconds
Definition at line 889 of file nusoap.php.
Referenced by debug().
Here is the caller graph for this function:| nusoap_base::getNamespaceFromPrefix | ( | $prefix | ) |
pass it a prefix, it returns a namespace
| string | $prefix | The prefix |
Definition at line 855 of file nusoap.php.
Referenced by wsdl\addOperation(), wsdl\parametersMatchWrapped(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), and wsdl\serializeType().
Here is the caller graph for this function:| nusoap_base::getPrefix | ( | $str | ) |
returns the prefix part of a prefixed string returns false, if not prefixed
| string | $str | The prefixed string |
Definition at line 839 of file nusoap.php.
Referenced by nusoap_xmlschema\addElement(), wsdl\addOperation(), nusoap_xmlschema\schemaEndElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), wsdl\serializeType(), and nusoap_parser\start_element().
Here is the caller graph for this function:| nusoap_base::getPrefixFromNamespace | ( | $ns | ) |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace
| string | $ns | The namespace |
Definition at line 872 of file nusoap.php.
Referenced by nusoap_client\call(), contractQname(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), nusoap_xmlschema\serializeSchema(), wsdl\serializeType(), and wsdl\start_element().
Here is the caller graph for this function:| nusoap_base::isArraySimpleOrStruct | ( | $val | ) |
detect if array is a simple array or a struct (associative array)
| mixed | $val | The PHP array |
Definition at line 407 of file nusoap.php.
Referenced by wsdl\parametersMatchWrapped(), serialize_val(), wsdl\serializeComplexTypeElements(), wsdl\serializeParameters(), and wsdl\serializeRPCParameters().
Here is the caller graph for this function:| nusoap_base::serialize_val | ( | $val, | |
$name = false, |
|||
$type = false, |
|||
$name_ns = false, |
|||
$type_ns = false, |
|||
$attributes = false, |
|||
$use = 'encoded', |
|||
$soapval = false |
|||
| ) |
serializes PHP values in accordance w/ section 5.
Type information is not serialized if $use == 'literal'.
| mixed | $val | The value to serialize |
| string | $name | The name (local part) of the XML element |
| string | $type | The XML schema type (local part) for the element |
| string | $name_ns | The namespace for the name of the XML element |
| string | $type_ns | The namespace for the type of the element |
| array | $attributes | The attributes to serialize as name=>value pairs |
| string | $use | The WSDL "use" (encoded|literal) |
| boolean | $soapval | Whether this is called from soapval. |
Definition at line 433 of file nusoap.php.
References $attributes, $i, $name, $type, $xml, appendDebug(), debug(), expandEntities(), isArraySimpleOrStruct(), serialize_val(), and varDump().
Referenced by nusoap_client\call(), soapval\serialize(), nusoap_fault\serialize(), nusoap_server\serialize_return(), serialize_val(), wsdl\serializeComplexTypeElements(), serializeEnvelope(), and wsdl\serializeType().
Here is the call graph for this function:
Here is the caller graph for this function:| nusoap_base::serializeEnvelope | ( | $body, | |
$headers = false, |
|||
$namespaces = array(), |
|||
$style = 'rpc', |
|||
$use = 'encoded', |
|||
$encodingStyle = 'http://schemas.xmlsoap.org/soap/encoding/' |
|||
| ) |
serializes a message
| string | $body | the XML of the SOAP body |
| mixed | $headers | optional string of XML with SOAP header content, or array of soapval objects for SOAP headers, or associative array |
| array | $namespaces | optional the namespaces used in generating the body and headers |
| string | $style | optional (rpc|document) |
| string | $use | optional (encoded|literal) |
| string | $encodingStyle | optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded) |
Definition at line 700 of file nusoap.php.
References $namespaces, $xml, appendDebug(), debug(), serialize_val(), and varDump().
Referenced by nusoap_client\call(), and nusoap_server\serialize_return().
Here is the call graph for this function:
Here is the caller graph for this function:| nusoap_base::setDebugLevel | ( | $level | ) |
sets the debug level for this instance
| int | $level | Debug level 0-9, where 0 turns off @access public |
Definition at line 281 of file nusoap.php.
| nusoap_base::setError | ( | $str | ) |
sets error string
Definition at line 395 of file nusoap.php.
Referenced by nusoap_parser\__construct(), nusoap_client\_getProxyClassCode(), nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_server\configureWSDL(), soap_transport_http\connect(), soap_transport_http\getResponse(), nusoap_server\parse_http_headers(), nusoap_xmlschema\parseFile(), nusoap_server\parseRequest(), nusoap_client\parseResponse(), nusoap_xmlschema\parseString(), wsdl\parseWSDL(), nusoap_server\register(), soap_transport_http\send(), nusoap_client\send(), soap_transport_http\sendRequest(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), and wsdl\webDescription().
Here is the caller graph for this function:| nusoap_base::setGlobalDebugLevel | ( | $level | ) |
sets the global debug level, which applies to future instances
| int | $level | Debug level 0-9, where 0 turns off @access public |
Definition at line 259 of file nusoap.php.
References $GLOBALS.
| nusoap_base::varDump | ( | $data | ) |
Returns a string with the output of var_dump.
| mixed | $data | The variable to var_dump |
Definition at line 909 of file nusoap.php.
References $data.
Referenced by nusoap_client\__construct(), soap_transport_http\__construct(), nusoap_server\__construct(), __toString(), nusoap_client\_getProxyClassCode(), nusoap_xmlschema\addComplexType(), nusoap_xmlschema\addElement(), nusoap_xmlschema\addSimpleType(), nusoap_parser\buildVal(), nusoap_client\call(), soap_transport_http\connect(), nusoap_xmlschema\getTypeDef(), wsdl\getTypeDef(), nusoap_server\invoke_method(), wsdl\parametersMatchWrapped(), nusoap_client\parseResponse(), nusoap_xmlschema\schemaStartElement(), nusoap_server\serialize_return(), serialize_val(), serializeEnvelope(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), nusoap_server\service(), wsdl\setCredentials(), nusoap_client\setCredentials(), soap_transport_http\setCredentials(), soap_transport_http\setCurlOption(), nusoap_client\setCurlOption(), and nusoap_client\setHeaders().
Here is the caller graph for this function:| nusoap_base::$charencoding = true |
Definition at line 140 of file nusoap.php.
| nusoap_base::$debug_str = '' |
Definition at line 132 of file nusoap.php.
Referenced by getDebug().
| nusoap_base::$debugLevel |
Definition at line 147 of file nusoap.php.
Referenced by getDebugLevel().
| nusoap_base::$error_str = '' |
Definition at line 125 of file nusoap.php.
Referenced by soap_transport_http\connect(), and getError().
| nusoap_base::$namespaces |
Definition at line 174 of file nusoap.php.
Referenced by nusoap_xmlschema\__construct(), and serializeEnvelope().
| nusoap_base::$revision = '$Revision$' |
Definition at line 118 of file nusoap.php.
| nusoap_base::$soap_defencoding = 'UTF-8' |
Definition at line 164 of file nusoap.php.
Referenced by nusoap_server\fault(), nusoap_server\getHTTPContentTypeCharset(), nusoap_client\getHTTPContentTypeCharset(), and nusoap_client\getProxy().
| nusoap_base::$title = 'NuSOAP' |
Definition at line 104 of file nusoap.php.
| nusoap_base::$typemap |
Definition at line 196 of file nusoap.php.
| nusoap_base::$usedNamespaces = array() |
Definition at line 187 of file nusoap.php.
Referenced by nusoap_client\call().
| nusoap_base::$version = '0.7.3' |
Definition at line 111 of file nusoap.php.
| nusoap_base::$xmlEntities |
Definition at line 229 of file nusoap.php.
| nusoap_base::$XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' |
Definition at line 155 of file nusoap.php.
Referenced by nusoap_parser\start_element().