ILIAS
Release_4_4_x_branch Revision 61816
|
Public Member Functions | |
debug ($string) | |
adds debug data to the class level debug string | |
expandEntities ($val) | |
expands entities, e.g. | |
getError () | |
returns error string if present | |
setError ($str) | |
sets error string | |
isArraySimpleOrStruct ($val) | |
detect if array is a simple array or a struct (associative array) | |
serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded') | |
serializes PHP values in accordance w/ section 5. | |
serializeEnvelope ($body, $headers=false, $namespaces=array(), $style='rpc', $use='encoded') | |
serialize message | |
formatDump ($str) | |
contractQname ($qname) | |
contracts a qualified name | |
expandQname ($qname) | |
expands a qualified name | |
getLocalPart ($str) | |
returns the local part of a prefixed string returns the original string, if not prefixed | |
getPrefix ($str) | |
returns the prefix part of a prefixed string returns false, if not prefixed | |
getNamespaceFromPrefix ($prefix) | |
pass it a prefix, it returns a namespace returns false if no namespace registered with the given prefix | |
getPrefixFromNamespace ($ns) | |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace | |
varDump ($data) | |
nusoap_base () | |
constructor | |
getGlobalDebugLevel () | |
gets the global debug level, which applies to future instances | |
setGlobalDebugLevel ($level) | |
sets the global debug level, which applies to future instances | |
getDebugLevel () | |
gets the debug level for this instance | |
setDebugLevel ($level) | |
sets the debug level for this instance | |
debug ($string) | |
adds debug data to the instance debug string with formatting | |
appendDebug ($string) | |
adds debug data to the instance debug string without formatting | |
clearDebug () | |
clears the current debug data for this instance | |
& | getDebug () |
gets the current debug data for this instance | |
& | getDebugAsXMLComment () |
gets the current debug data for this instance as an XML comment this may change the contents of the debug data | |
expandEntities ($val) | |
expands entities, e.g. | |
getError () | |
returns error string if present | |
setError ($str) | |
sets error string | |
isArraySimpleOrStruct ($val) | |
detect if array is a simple array or a struct (associative array) | |
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. | |
serializeEnvelope ($body, $headers=false, $namespaces=array(), $style='rpc', $use='encoded', $encodingStyle='http://schemas.xmlsoap.org/soap/encoding/') | |
serializes a message | |
formatDump ($str) | |
formats a string to be inserted into an HTML stream | |
contractQname ($qname) | |
contracts (changes namespace to prefix) a qualified name | |
expandQname ($qname) | |
expands (changes prefix to namespace) a qualified name | |
getLocalPart ($str) | |
returns the local part of a prefixed string returns the original string, if not prefixed | |
getPrefix ($str) | |
returns the prefix part of a prefixed string returns false, if not prefixed | |
getNamespaceFromPrefix ($prefix) | |
pass it a prefix, it returns a namespace | |
getPrefixFromNamespace ($ns) | |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace | |
getmicrotime () | |
returns the time in ODBC canonical form with microseconds | |
varDump ($data) | |
Returns a string with the output of var_dump. | |
__toString () | |
represents the object as a string |
Data Fields | |
$title = 'NuSOAP' | |
$version = '0.6.7' | |
$revision = '$Revision: 11808 $' | |
$error_str = false | |
$debug_str = '' | |
$charencoding = true | |
$XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' | |
$soap_defencoding = 'UTF-8' | |
$namespaces | |
$usedNamespaces = array() | |
$typemap | |
$xmlEntities | |
$debugLevel |
public
public
Definition at line 61 of file nusoap.php.
nusoap_base::__toString | ( | ) |
represents the object as a string
Definition at line 894 of file nusoap.php.
References varDump().
nusoap_base::appendDebug | ( | $string | ) |
adds debug data to the instance debug string without formatting
string | $string | debug data public |
Definition at line 294 of file nusoap.php.
Referenced by 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(), nusoap_client\nusoap_client(), nusoap_server\nusoap_server(), 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(), soap_transport_http\setCredentials(), wsdl\setCredentials(), nusoap_client\setCredentials(), soap_transport_http\setCurlOption(), nusoap_client\setCurlOption(), nusoap_client\setHeaders(), soap_transport_http\soap_transport_http(), and wsdl\start_element().
nusoap_base::clearDebug | ( | ) |
clears the current debug data for this instance
public
Definition at line 307 of file nusoap.php.
Referenced by nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_server\nusoap_server(), and nusoap_server\serialize_return().
nusoap_base::contractQname | ( | $qname | ) |
contracts a qualified name
string | $string | qname |
Definition at line 458 of file nusoap.php.
References getPrefixFromNamespace().
nusoap_base::contractQname | ( | $qname | ) |
contracts (changes namespace to prefix) a qualified name
string | $qname | qname |
Definition at line 747 of file nusoap.php.
References getPrefixFromNamespace().
nusoap_base::debug | ( | $string | ) |
adds debug data to the class level debug string
string | $string | debug data private |
Definition at line 144 of file nusoap.php.
Referenced by nusoap_client\_getProxyClassCode(), soap_transport_http\buildPayload(), soap_parser\buildVal(), nusoap_parser\buildVal(), soap_client\call(), 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(), soap_client\getOperationData(), nusoap_client\getOperationData(), nusoap_client\getProxy(), soap_transport_http\getResponse(), wsdl\getTypeDef(), soap_server\invoke_method(), nusoap_server\invoke_method(), nusoap_client\loadWSDL(), nusoap_client\nusoap_client(), nusoap_parser\nusoap_parser(), nusoap_server\nusoap_server(), nusoap_xmlschema\nusoap_xmlschema(), wsdl\parametersMatchWrapped(), soap_server\parse_http_headers(), nusoap_server\parse_http_headers(), soap_server\parse_request(), nusoap_server\parse_request(), XMLSchema\parseFile(), nusoap_xmlschema\parseFile(), nusoap_server\parseRequest(), soap_client\parseResponse(), nusoap_client\parseResponse(), XMLSchema\parseString(), nusoap_xmlschema\parseString(), wsdl\parseWSDL(), soap_transport_http\send(), soap_client\send(), nusoap_client\send(), soap_server\send_response(), nusoap_server\send_response(), soap_transport_http\sendRequest(), soap_server\serialize_return(), nusoap_server\serialize_return(), serialize_val(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), serializeEnvelope(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), nusoap_server\service(), soap_transport_http\setCredentials(), wsdl\setCredentials(), nusoap_client\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(), soap_client\soap_client(), soap_parser\soap_parser(), soap_server\soap_server(), soap_transport_http\soap_transport_http(), wsdl\start_element(), soap_parser\start_element(), nusoap_parser\start_element(), soap_transport_http\unsetHeader(), nusoap_client\UpdateCookies(), nusoap_client\useHTTPPersistentConnection(), wsdl\wsdl(), XMLSchema\xdebug(), nusoap_xmlschema\xdebug(), and XMLSchema\XMLSchema().
nusoap_base::debug | ( | $string | ) |
adds debug data to the instance debug string with formatting
string | $string | debug data private |
Definition at line 282 of file nusoap.php.
References appendDebug(), and getmicrotime().
nusoap_base::expandEntities | ( | $val | ) |
expands entities, e.g.
changes '<' to '<'.
string | $val | The string in which to expand entities. private |
Definition at line 154 of file nusoap.php.
Referenced by serialize_val(), wsdl\serializeComplexTypeAttributes(), and wsdl\serializeType().
nusoap_base::expandEntities | ( | $val | ) |
expands entities, e.g.
changes '<' to '<'.
string | $val | The string in which to expand entities. private |
Definition at line 348 of file nusoap.php.
nusoap_base::expandQname | ( | $qname | ) |
expands a qualified name
string | $string | qname |
Definition at line 483 of file nusoap.php.
Referenced by wsdl\addComplexType(), wsdl\addSimpleType(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), and wsdl\start_element().
nusoap_base::expandQname | ( | $qname | ) |
expands (changes prefix to namespace) a qualified name
string | $qname | qname |
Definition at line 772 of file nusoap.php.
nusoap_base::formatDump | ( | $str | ) |
Definition at line 446 of file nusoap.php.
nusoap_base::formatDump | ( | $str | ) |
formats a string to be inserted into an HTML stream
string | $str | The string to format |
Definition at line 735 of file nusoap.php.
& nusoap_base::getDebug | ( | ) |
gets the current debug data for this instance
Definition at line 319 of file nusoap.php.
References $debug_str.
Referenced by nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_server\fault(), nusoap_server\nusoap_server(), and nusoap_server\serialize_return().
& 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 332 of file nusoap.php.
References $ret.
Referenced by nusoap_server\send_response(), and nusoap_server\service().
nusoap_base::getDebugLevel | ( | ) |
gets the debug level for this instance
Definition at line 262 of file nusoap.php.
References $debugLevel.
nusoap_base::getError | ( | ) |
returns error string if present
Definition at line 171 of file nusoap.php.
References $error_str.
Referenced by nusoap_client\_getProxyClassCode(), soap_client\call(), nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_client\getOperationData(), nusoap_client\getProxy(), nusoap_server\nusoap_server(), wsdl\parseWSDL(), soap_client\send(), nusoap_client\send(), soap_server\serialize_return(), nusoap_server\serialize_return(), soap_client\soap_client(), and soap_server\soap_server().
nusoap_base::getError | ( | ) |
returns error string if present
Definition at line 365 of file nusoap.php.
References $error_str.
nusoap_base::getGlobalDebugLevel | ( | ) |
gets the global debug level, which applies to future instances
Definition at line 242 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 |
Definition at line 508 of file nusoap.php.
Referenced by wsdl\addOperation(), nusoap_xmlschema\schemaEndElement(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), wsdl\serializeType(), wsdl\start_element(), soap_parser\start_element(), and nusoap_parser\start_element().
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 797 of file nusoap.php.
nusoap_base::getmicrotime | ( | ) |
returns the time in ODBC canonical form with microseconds
Definition at line 861 of file nusoap.php.
Referenced by debug().
nusoap_base::getNamespaceFromPrefix | ( | $prefix | ) |
pass it a prefix, it returns a namespace returns false if no namespace registered with the given prefix
string |
Definition at line 541 of file nusoap.php.
Referenced by wsdl\addOperation(), wsdl\parametersMatchWrapped(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), and wsdl\serializeType().
nusoap_base::getNamespaceFromPrefix | ( | $prefix | ) |
pass it a prefix, it returns a namespace
string | $prefix | The prefix |
Definition at line 829 of file nusoap.php.
nusoap_base::getPrefix | ( | $str | ) |
returns the prefix part of a prefixed string returns false, if not prefixed
string |
Definition at line 525 of file nusoap.php.
Referenced by nusoap_xmlschema\addElement(), wsdl\addOperation(), nusoap_xmlschema\schemaEndElement(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), wsdl\serializeComplexTypeAttributes(), wsdl\serializeComplexTypeElements(), wsdl\serializeType(), soap_parser\start_element(), and nusoap_parser\start_element().
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 814 of file nusoap.php.
nusoap_base::getPrefixFromNamespace | ( | $ns | ) |
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace
string |
Definition at line 557 of file nusoap.php.
References $n.
Referenced by soap_client\call(), nusoap_client\call(), contractQname(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), wsdl\serialize(), XMLSchema\serializeSchema(), nusoap_xmlschema\serializeSchema(), wsdl\serializeType(), and wsdl\start_element().
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 845 of file nusoap.php.
References $n.
nusoap_base::isArraySimpleOrStruct | ( | $val | ) |
detect if array is a simple array or a struct (associative array)
$val | The PHP array |
Definition at line 195 of file nusoap.php.
Referenced by wsdl\parametersMatchWrapped(), serialize_val(), wsdl\serializeComplexTypeElements(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), and wsdl\serializeType().
nusoap_base::isArraySimpleOrStruct | ( | $val | ) |
detect if array is a simple array or a struct (associative array)
mixed | $val | The PHP array |
Definition at line 389 of file nusoap.php.
nusoap_base::nusoap_base | ( | ) |
constructor
public
Definition at line 232 of file nusoap.php.
References $GLOBALS.
Referenced by nusoap_client\nusoap_client(), nusoap_fault\nusoap_fault(), nusoap_parser\nusoap_parser(), nusoap_server\nusoap_server(), nusoap_xmlschema\nusoap_xmlschema(), soap_transport_http\soap_transport_http(), soapval\soapval(), and wsdl\wsdl().
nusoap_base::serialize_val | ( | $val, | |
$name = false , |
|||
$type = false , |
|||
$name_ns = false , |
|||
$type_ns = false , |
|||
$attributes = false , |
|||
$use = 'encoded' |
|||
) |
serializes PHP values in accordance w/ section 5.
Type information is not serialized if $use == 'literal'.
Definition at line 212 of file nusoap.php.
References debug(), expandEntities(), and isArraySimpleOrStruct().
Referenced by soap_client\call(), nusoap_client\call(), nusoap_fault\serialize(), soapval\serialize(), soap_server\serialize_return(), nusoap_server\serialize_return(), serialize_val(), wsdl\serializeComplexTypeElements(), serializeEnvelope(), and wsdl\serializeType().
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 414 of file nusoap.php.
References appendDebug(), debug(), expandEntities(), isArraySimpleOrStruct(), serialize_val(), and varDump().
nusoap_base::serializeEnvelope | ( | $body, | |
$headers = false , |
|||
$namespaces = array() , |
|||
$style = 'rpc' , |
|||
$use = 'encoded' |
|||
) |
serialize message
string | body |
string | headers optional |
array | namespaces optional |
string | style optional (rpc|document) |
string | use optional (encoded|literal) |
Definition at line 417 of file nusoap.php.
References $namespaces.
Referenced by soap_client\call(), nusoap_client\call(), soap_server\serialize_return(), and nusoap_server\serialize_return().
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 680 of file nusoap.php.
References $namespaces, appendDebug(), debug(), serialize_val(), and varDump().
nusoap_base::setDebugLevel | ( | $level | ) |
sets the debug level for this instance
int | $level | Debug level 0-9, where 0 turns off public |
Definition at line 272 of file nusoap.php.
nusoap_base::setError | ( | $str | ) |
sets error string
Definition at line 184 of file nusoap.php.
Referenced by nusoap_client\_getProxyClassCode(), soap_client\call(), nusoap_client\call(), nusoap_client\checkWSDL(), nusoap_server\configureWSDL(), soap_transport_http\connect(), soap_transport_http\getResponse(), nusoap_parser\nusoap_parser(), nusoap_server\parse_http_headers(), XMLSchema\parseFile(), nusoap_xmlschema\parseFile(), nusoap_server\parseRequest(), soap_client\parseResponse(), nusoap_client\parseResponse(), XMLSchema\parseString(), nusoap_xmlschema\parseString(), wsdl\parseWSDL(), nusoap_server\register(), soap_transport_http\send(), soap_client\send(), nusoap_client\send(), soap_transport_http\sendRequest(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), soap_client\soap_client(), soap_parser\soap_parser(), and wsdl\webDescription().
nusoap_base::setError | ( | $str | ) |
sets error string
Definition at line 378 of file nusoap.php.
nusoap_base::setGlobalDebugLevel | ( | $level | ) |
sets the global debug level, which applies to future instances
int | $level | Debug level 0-9, where 0 turns off public |
Definition at line 252 of file nusoap.php.
References $GLOBALS.
nusoap_base::varDump | ( | $data | ) |
Definition at line 567 of file nusoap.php.
Referenced by __toString(), nusoap_client\_getProxyClassCode(), XMLSchema\addComplexType(), nusoap_xmlschema\addComplexType(), nusoap_xmlschema\addElement(), XMLSchema\addSimpleType(), nusoap_xmlschema\addSimpleType(), nusoap_parser\buildVal(), nusoap_client\call(), soap_transport_http\connect(), nusoap_xmlschema\getTypeDef(), wsdl\getTypeDef(), soap_server\invoke_method(), nusoap_server\invoke_method(), nusoap_client\nusoap_client(), nusoap_server\nusoap_server(), wsdl\parametersMatchWrapped(), nusoap_client\parseResponse(), XMLSchema\schemaStartElement(), nusoap_xmlschema\schemaStartElement(), soap_server\serialize_return(), nusoap_server\serialize_return(), serialize_val(), serializeEnvelope(), wsdl\serializeParameters(), wsdl\serializeRPCParameters(), wsdl\serializeType(), nusoap_server\service(), soap_transport_http\setCredentials(), wsdl\setCredentials(), nusoap_client\setCredentials(), soap_transport_http\setCurlOption(), nusoap_client\setCurlOption(), nusoap_client\setHeaders(), and soap_transport_http\soap_transport_http().
nusoap_base::varDump | ( | $data | ) |
Returns a string with the output of var_dump.
mixed | $data | The variable to var_dump |
Definition at line 880 of file nusoap.php.
nusoap_base::$charencoding = true |
Definition at line 70 of file nusoap.php.
nusoap_base::$debug_str = '' |
Definition at line 67 of file nusoap.php.
Referenced by getDebug().
nusoap_base::$debugLevel |
Definition at line 142 of file nusoap.php.
Referenced by getDebugLevel().
nusoap_base::$error_str = false |
Definition at line 66 of file nusoap.php.
Referenced by soap_transport_http\connect(), and getError().
nusoap_base::$namespaces |
Definition at line 95 of file nusoap.php.
Referenced by nusoap_xmlschema\nusoap_xmlschema(), serializeEnvelope(), and XMLSchema\XMLSchema().
nusoap_base::$revision = '$Revision: 11808 $' |
Definition at line 65 of file nusoap.php.
nusoap_base::$soap_defencoding = 'UTF-8' |
Definition at line 86 of file nusoap.php.
Referenced by nusoap_server\fault(), nusoap_server\getHTTPContentTypeCharset(), soap_client\getHTTPContentTypeCharset(), nusoap_client\getHTTPContentTypeCharset(), and nusoap_client\getProxy().
nusoap_base::$title = 'NuSOAP' |
Definition at line 63 of file nusoap.php.
nusoap_base::$typemap |
Definition at line 110 of file nusoap.php.
nusoap_base::$usedNamespaces = array() |
Definition at line 101 of file nusoap.php.
Referenced by soap_client\call(), and nusoap_client\call().
nusoap_base::$version = '0.6.7' |
Definition at line 64 of file nusoap.php.
nusoap_base::$xmlEntities |
Definition at line 135 of file nusoap.php.
nusoap_base::$XMLSchemaVersion = 'http://www.w3.org/2001/XMLSchema' |
Definition at line 78 of file nusoap.php.
Referenced by soap_parser\start_element(), and nusoap_parser\start_element().