XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct () | |
getGlobalDebugLevel () | |
setGlobalDebugLevel ($level) | |
getDebugLevel () | |
setDebugLevel ($level) | |
debug ($string) | |
appendDebug ($string) | |
clearDebug () | |
& | getDebug () |
& | getDebugAsXMLComment () |
expandEntities ($val) | |
getError () | |
setError ($str) | |
isArraySimpleOrStruct ($val) | |
serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded', $soapval=false) | |
serializeEnvelope ($body, $headers=false, $namespaces=[], $style='rpc', $use='encoded', $encodingStyle='https://schemas.xmlsoap.org/soap/encoding/') | |
formatDump ($str) | |
contractQname ($qname) | |
expandQname ($qname) | |
getLocalPart ($str) | |
getPrefix ($str) | |
getNamespaceFromPrefix ($prefix) | |
getPrefixFromNamespace ($ns) | |
getmicrotime () | |
varDump ($data) | |
__toString () | |
Data Fields | |
$title = 'NuSOAP' | |
$version = '0.9.5' | |
$revision = '$Revision: 1.123 $' | |
$error_str = '' | |
$debug_str = '' | |
$charencoding = true | |
$debugLevel | |
$XMLSchemaVersion = 'https://www.w3.org/2001/XMLSchema' | |
$soap_defencoding = 'UTF-8' | |
$namespaces | |
$usedNamespaces = [] | |
$typemap | |
$xmlEntities | |
@access public
Definition at line 85 of file nusoap.php.
__construct | ( | ) |
__toString | ( | ) |
represents the object as a string
Definition at line 918 of file nusoap.php.
appendDebug | ( | $string | ) |
adds debug data to the instance debug string without formatting
string | $string | debug data @access public |
Definition at line 299 of file nusoap.php.
clearDebug | ( | ) |
clears the current debug data for this instance
@access public
Definition at line 313 of file nusoap.php.
contractQname | ( | $qname | ) |
contracts (changes namespace to prefix) a qualified name
string | $qname | qname |
Definition at line 763 of file nusoap.php.
debug | ( | $string | ) |
adds debug data to the instance debug string with formatting
string | $string | debug data @access private |
Definition at line 286 of file nusoap.php.
expandEntities | ( | $val | ) |
expands entities, e.g. changes '<' to '<'.
string | $val | The string in which to expand entities. @access private |
Definition at line 358 of file nusoap.php.
expandQname | ( | $qname | ) |
expands (changes prefix to namespace) a qualified name
string | $qname | qname |
Definition at line 789 of file nusoap.php.
formatDump | ( | $str | ) |
formats a string to be inserted into an HTML stream
string | $str | The string to format |
Definition at line 750 of file nusoap.php.
& getDebug | ( | ) |
gets the current debug data for this instance
Definition at line 326 of file nusoap.php.
& 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 340 of file nusoap.php.
getDebugLevel | ( | ) |
gets the debug level for this instance
Definition at line 264 of file nusoap.php.
getError | ( | ) |
returns error string if present
Definition at line 376 of file nusoap.php.
getGlobalDebugLevel | ( | ) |
gets the global debug level, which applies to future instances
Definition at line 242 of file nusoap.php.
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 815 of file nusoap.php.
getmicrotime | ( | ) |
returns the time in ODBC canonical form with microseconds
Definition at line 883 of file nusoap.php.
getNamespaceFromPrefix | ( | $prefix | ) |
pass it a prefix, it returns a namespace
string | $prefix | The prefix |
Definition at line 849 of file nusoap.php.
getPrefix | ( | $str | ) |
returns the prefix part of a prefixed string returns false, if not prefixed
string | $str | The prefixed string |
Definition at line 833 of file nusoap.php.
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 866 of file nusoap.php.
isArraySimpleOrStruct | ( | $val | ) |
detect if array is a simple array or a struct (associative array)
mixed | $val | The PHP array |
Definition at line 403 of file nusoap.php.
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 |
bool | $name | The name (local part) of the XML element |
bool | $type | The XML schema type (local part) for the element |
bool | $name_ns | The namespace for the name of the XML element |
bool | $type_ns | The namespace for the type of the element |
bool | $attributes | The attributes to serialize as name=>value pairs |
string | $use | The WSDL "use" (encoded|literal) |
bool | $soapval | Whether this is called from soapval. |
Definition at line 429 of file nusoap.php.
serializeEnvelope | ( | $body, | |
$headers = false, | |||
$namespaces = [], | |||
$style = 'rpc', | |||
$use = 'encoded', | |||
$encodingStyle = 'https://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 'https://schemas.xmlsoap.org/soap/encoding/' for encoded) |
Definition at line 697 of file nusoap.php.
setDebugLevel | ( | $level | ) |
sets the debug level for this instance
int | $level | Debug level 0-9, where 0 turns off @access public |
Definition at line 275 of file nusoap.php.
setError | ( | $str | ) |
sets error string
$str |
Definition at line 391 of file nusoap.php.
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 253 of file nusoap.php.
varDump | ( | $data | ) |
Returns a string with the output of var_dump
mixed | $data | The variable to var_dump |
Definition at line 903 of file nusoap.php.
$charencoding = true |
Definition at line 129 of file nusoap.php.
$debug_str = '' |
Definition at line 121 of file nusoap.php.
$debugLevel |
Definition at line 136 of file nusoap.php.
$error_str = '' |
Definition at line 114 of file nusoap.php.
$namespaces |
Definition at line 163 of file nusoap.php.
$revision = '$Revision: 1.123 $' |
Definition at line 107 of file nusoap.php.
$soap_defencoding = 'UTF-8' |
Definition at line 152 of file nusoap.php.
$title = 'NuSOAP' |
Definition at line 93 of file nusoap.php.
$typemap |
Definition at line 185 of file nusoap.php.
$usedNamespaces = [] |
Definition at line 176 of file nusoap.php.
$version = '0.9.5' |
Definition at line 100 of file nusoap.php.
$xmlEntities |
Definition at line 221 of file nusoap.php.
$XMLSchemaVersion = 'https://www.w3.org/2001/XMLSchema' |
Definition at line 144 of file nusoap.php.