phpDocumentor default
[ class tree: default ] [ index: default ] [ all elements ]

Class: soap_parser

Source Location: /lodel/scripts/nusoap.php

Class soap_parser

Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From nusoap_base

nusoap_base::$charencoding
nusoap_base::$debug_str
nusoap_base::$error_str
nusoap_base::$revision
nusoap_base::$soap_defencoding
nusoap_base::$title
nusoap_base::$typemap
nusoap_base::$usedNamespaces
nusoap_base::$version
nusoap_base::$xmlEntities
nusoap_base::$XMLSchemaVersion

Inherited From nusoap_base

nusoap_base::appendDebug()
adds debug data to the instance debug string without formatting
nusoap_base::clearDebug()
clears the current debug data for this instance
nusoap_base::contractQname()
contracts a qualified name
nusoap_base::debug()
adds debug data to the instance debug string with formatting
nusoap_base::expandEntities()
expands entities, e.g. changes '<' to '&lt;'.
nusoap_base::expandQname()
expands a qualified name
nusoap_base::formatDump()
nusoap_base::getDebug()
gets the current debug data for this instance
nusoap_base::getDebugAsXMLComment()
gets the current debug data for this instance as an XML comment this may change the contents of the debug data
nusoap_base::getError()
returns error string if present
nusoap_base::getLocalPart()
returns the local part of a prefixed string returns the original string, if not prefixed
nusoap_base::getmicrotime()
returns the time in ODBC canonical form with microseconds
nusoap_base::getNamespaceFromPrefix()
pass it a prefix, it returns a namespace returns false if no namespace registered with the given prefix
nusoap_base::getPrefix()
returns the prefix part of a prefixed string returns false, if not prefixed
nusoap_base::getPrefixFromNamespace()
returns the prefix for a given namespace (or prefix) or false if no prefixes registered for the given namespace
nusoap_base::isArraySimpleOrStruct()
detect if array is a simple array or a struct (associative array)
nusoap_base::serializeEnvelope()
serialize message
nusoap_base::serialize_val()
serializes PHP values in accordance w/ section 5. Type information is not serialized if $use == 'literal'.
nusoap_base::setError()
sets error string
nusoap_base::varDump()

[ Top ]
Property Summary
mixed   $body_position  
mixed   $debug_flag  
mixed   $decode_utf8  
mixed   $default_namespace  
mixed   $depth  
mixed   $depth_array  
mixed   $document  
mixed   $fault  
mixed   $fault_code  
mixed   $fault_detail  
mixed   $fault_str  
mixed   $ids  
mixed   $message  
mixed   $method  
mixed   $multirefs  
mixed   $namespaces  
mixed   $parent  
mixed   $position  
mixed   $responseHeaders  
mixed   $root_header  
mixed   $root_struct  
mixed   $root_struct_name  
mixed   $root_struct_namespace  
mixed   $soapresponse  
mixed   $status  
mixed   $xml  
mixed   $xml_encoding  

[ Top ]
Method Summary
soap_parser   soap_parser()   constructor
void   buildVal()   builds response structures for compound values (arrays/structs)
void   character_data()   element content handler
void   decodeSimple()   decodes simple types into PHP variables
void   decode_entities()   decodes entities
void   end_element()   end-element handler
string   getHeaders()   get the parsed headers
mixed   get_response()   get the parsed message
void   start_element()   start-element handler

[ Top ]
Properties
mixed   $body_position = 0 [line 4699]

[ Top ]
mixed   $debug_flag = true [line 4696]

[ Top ]
mixed   $decode_utf8 = true [line 4706]

[ Top ]
mixed   $default_namespace = '' [line 4687]

[ Top ]
mixed   $depth = 0 [line 4686]

[ Top ]
mixed   $depth_array = array() [line 4695]

[ Top ]
mixed   $document = '' [line 4682]

[ Top ]
mixed   $fault = false [line 4691]

[ Top ]
mixed   $fault_code = '' [line 4692]

[ Top ]
mixed   $fault_detail = '' [line 4694]

[ Top ]
mixed   $fault_str = '' [line 4693]

[ Top ]
mixed   $ids = array() [line 4702]

[ Top ]
mixed   $message = array() [line 4689]

[ Top ]
mixed   $method = '' [line 4677]

[ Top ]
mixed   $multirefs = array() [line 4704]

[ Top ]
mixed   $namespaces = array() [line 4688]

Redefinition of:
nusoap_base::$namespaces
load namespace uris into an array of uri => prefix

[ Top ]
mixed   $parent = '' [line 4690]

[ Top ]
mixed   $position = 0 [line 4685]

[ Top ]
mixed   $responseHeaders = '' [line 4698]

[ Top ]
mixed   $root_header = '' [line 4681]

[ Top ]
mixed   $root_struct = '' [line 4678]

[ Top ]
mixed   $root_struct_name = '' [line 4679]

[ Top ]
mixed   $root_struct_namespace = '' [line 4680]

[ Top ]
mixed   $soapresponse = NULL [line 4697]

[ Top ]
mixed   $status = '' [line 4684]

[ Top ]
mixed   $xml = '' [line 4675]

[ Top ]
mixed   $xml_encoding = '' [line 4676]

[ Top ]
Methods
Constructor soap_parser  [line 4717]

  soap_parser soap_parser( string $xml, [string $encoding = 'UTF-8'], [string $method = ''], [string $decode_utf8 = true]  )

constructor

Parameters:
string   $xml:  SOAP message
string   $encoding:  character encoding scheme of message
string   $method: 
string   $decode_utf8:  whether to decode UTF-8 to ISO-8859-1

API Tags:
Access:  public


[ Top ]
buildVal  [line 5127]

  void buildVal( string $pos  )

builds response structures for compound values (arrays/structs)

Parameters:
string   $pos:  position in node tree

API Tags:
Access:  private


[ Top ]
character_data  [line 5030]

  void character_data( string $parser, string $data  )

element content handler

Parameters:
string   $parser:  XML parser object
string   $data:  element content

API Tags:
Access:  private


[ Top ]
decodeSimple  [line 5090]

  void decodeSimple( string $value, string $type, string $typens  )

decodes simple types into PHP variables

Parameters:
string   $value:  value to decode
string   $type:  XML type to decode
string   $typens:  XML type namespace to decode

API Tags:
Access:  private


[ Top ]
decode_entities  [line 5075]

  void decode_entities( string $text  )

decodes entities

Parameters:
string   $text:  string to translate

API Tags:
Access:  private


[ Top ]
end_element  [line 4943]

  void end_element( string $parser, string $name  )

end-element handler

Parameters:
string   $parser:  XML parser object
string   $name:  element name

API Tags:
Access:  private


[ Top ]
getHeaders  [line 5065]

  string getHeaders( )

get the parsed headers


API Tags:
Return:  XML or empty if no headers
Access:  public


[ Top ]
get_response  [line 5055]

  mixed get_response( )

get the parsed message


API Tags:
Access:  public


[ Top ]
start_element  [line 4802]

  void start_element( string $parser, string $name, string $attrs  )

start-element handler

Parameters:
string   $parser:  XML parser object
string   $name:  element name
string   $attrs:  associative array of attributes

API Tags:
Access:  private


[ Top ]

Documentation generated on Wed, 19 Sep 2007 05:07:18 +0200 by phpDocumentor 1.4.0a2