XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
|
Public Member Functions | |
__construct ($xml, $encoding='UTF-8', $method='', $decode_utf8=true) | |
start_element ($parser, $name, $attrs) | |
end_element ($parser, $name) | |
character_data ($parser, $data) | |
get_response () | |
get_soapbody () | |
get_soapheader () | |
getHeaders () | |
decodeSimple ($value, $type, $typens) | |
buildVal ($pos) | |
![]() | |
__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 | |
$xml = '' | |
$xml_encoding = '' | |
$method = '' | |
$root_struct = '' | |
$root_struct_name = '' | |
$root_struct_namespace = '' | |
$root_header = '' | |
$document = '' | |
$status = '' | |
$position = 0 | |
$depth = 0 | |
$default_namespace = '' | |
$namespaces = [] | |
$message = [] | |
$parent = '' | |
$fault = false | |
$fault_code = '' | |
$fault_str = '' | |
$fault_detail = '' | |
$depth_array = [] | |
$debug_flag = true | |
$soapresponse = null | |
$soapheader = null | |
$responseHeaders = '' | |
$body_position = 0 | |
$ids = [] | |
$multirefs = [] | |
$decode_utf8 = true | |
![]() | |
$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 | |
nusoap_parser class parses SOAP XML messages into native PHP values
@access public
Definition at line 6669 of file nusoap.php.
__construct | ( | $xml, | |
$encoding = 'UTF-8', | |||
$method = '', | |||
$decode_utf8 = true ) |
constructor that actually does the parsing
string | $xml | SOAP message |
string | $encoding | character encoding scheme of message |
string | $method | method for which XML is parsed (unused?) |
bool | $decode_utf8 | whether to decode UTF-8 to ISO-8859-1 @access public |
Definition at line 6715 of file nusoap.php.
buildVal | ( | $pos | ) |
builds response structures for compound values (arrays/structs) and scalars
int | $pos | position in node tree |
Definition at line 7194 of file nusoap.php.
character_data | ( | $parser, | |
$data ) |
element content handler
resource | $parser | XML parser object |
string | $data | element content @access private |
Definition at line 7073 of file nusoap.php.
decodeSimple | ( | $value, | |
$type, | |||
$typens ) |
decodes simple types into PHP variables
string | $value | value to decode |
string | $type | XML type to decode |
string | $typens | XML type namespace to decode |
Definition at line 7147 of file nusoap.php.
end_element | ( | $parser, | |
$name ) |
end-element handler
resource | $parser | XML parser object |
string | $name | element name @access private |
Definition at line 6966 of file nusoap.php.
get_response | ( | ) |
get the parsed message (SOAP Body)
Definition at line 7100 of file nusoap.php.
get_soapbody | ( | ) |
get the parsed SOAP Body (NULL if there was none)
Definition at line 7111 of file nusoap.php.
get_soapheader | ( | ) |
get the parsed SOAP Header (NULL if there was none)
Definition at line 7122 of file nusoap.php.
getHeaders | ( | ) |
get the unparsed SOAP Header
Definition at line 7133 of file nusoap.php.
start_element | ( | $parser, | |
$name, | |||
$attrs ) |
start-element handler
resource | $parser | XML parser object |
string | $name | element name |
array | $attrs | associative array of attributes @access private |
Definition at line 6810 of file nusoap.php.
$body_position = 0 |
Definition at line 6697 of file nusoap.php.
$debug_flag = true |
Definition at line 6693 of file nusoap.php.
$decode_utf8 = true |
Definition at line 6704 of file nusoap.php.
$default_namespace = '' |
Definition at line 6684 of file nusoap.php.
$depth = 0 |
Definition at line 6683 of file nusoap.php.
$depth_array = [] |
Definition at line 6692 of file nusoap.php.
$document = '' |
Definition at line 6679 of file nusoap.php.
$fault = false |
Definition at line 6688 of file nusoap.php.
$fault_code = '' |
Definition at line 6689 of file nusoap.php.
$fault_detail = '' |
Definition at line 6691 of file nusoap.php.
$fault_str = '' |
Definition at line 6690 of file nusoap.php.
$ids = [] |
Definition at line 6700 of file nusoap.php.
$message = [] |
Definition at line 6686 of file nusoap.php.
$method = '' |
Definition at line 6674 of file nusoap.php.
$multirefs = [] |
Definition at line 6702 of file nusoap.php.
$namespaces = [] |
Definition at line 6685 of file nusoap.php.
$parent = '' |
Definition at line 6687 of file nusoap.php.
$position = 0 |
Definition at line 6682 of file nusoap.php.
$responseHeaders = '' |
Definition at line 6696 of file nusoap.php.
$root_header = '' |
Definition at line 6678 of file nusoap.php.
$root_struct = '' |
Definition at line 6675 of file nusoap.php.
$root_struct_name = '' |
Definition at line 6676 of file nusoap.php.
$root_struct_namespace = '' |
Definition at line 6677 of file nusoap.php.
$soapheader = null |
Definition at line 6695 of file nusoap.php.
$soapresponse = null |
Definition at line 6694 of file nusoap.php.
$status = '' |
Definition at line 6681 of file nusoap.php.
$xml = '' |
Definition at line 6672 of file nusoap.php.
$xml_encoding = '' |
Definition at line 6673 of file nusoap.php.