Solutions Open Source

Référence de la classe soap_parser

Graphe d'héritage de soap_parser:

Inheritance graph
[légende]
Graphe de collaboration de soap_parser:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 soap_parser ($xml, $encoding='UTF-8', $method='', $decode_utf8=true)
 start_element ($parser, $name, $attrs)
 end_element ($parser, $name)
 character_data ($parser, $data)
 get_response ()
 getHeaders ()
 decodeSimple ($value, $type, $typens)
 buildVal ($pos)

Attributs publics

 $xml = ''
 $xml_encoding = ''
 $method = ''
 $root_struct = ''
 $root_struct_name = ''
 $root_struct_namespace = ''
 $root_header = ''
 $document = ''
 $status = ''
 $position = 0
 $depth = 0
 $default_namespace = ''
 $namespaces = array()
 $message = array()
 $parent = ''
 $fault = false
 $fault_code = ''
 $fault_str = ''
 $fault_detail = ''
 $depth_array = array()
 $debug_flag = true
 $soapresponse = NULL
 $responseHeaders = ''
 $body_position = 0
 $ids = array()
 $multirefs = array()
 $decode_utf8 = true


Description détaillée

soap_parser class parses SOAP XML messages into native PHP values

Auteur:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id
public

Documentation des fonctions membres

soap_parser::soap_parser ( xml,
encoding = 'UTF-8',
method = '',
decode_utf8 = true 
)

constructor that actually does the parsing

Paramètres:
string $xml SOAP message
string $encoding character encoding scheme of message
string $method method for which XML is parsed (unused?)
string $decode_utf8 whether to decode UTF-8 to ISO-8859-1 public

soap_parser::start_element ( parser,
name,
attrs 
)

start-element handler

Paramètres:
resource $parser XML parser object
string $name element name
array $attrs associative array of attributes private

soap_parser::end_element ( parser,
name 
)

end-element handler

Paramètres:
resource $parser XML parser object
string $name element name private

soap_parser::character_data ( parser,
data 
)

element content handler

Paramètres:
resource $parser XML parser object
string $data element content private

soap_parser::get_response (  ) 

get the parsed message

Renvoie:
mixed public

soap_parser::getHeaders (  ) 

get the parsed headers

Renvoie:
string XML or empty if no headers public

soap_parser::decodeSimple ( value,
type,
typens 
)

decodes simple types into PHP variables

Paramètres:
string $value value to decode
string $type XML type to decode
string $typens XML type namespace to decode
Renvoie:
mixed PHP value private

soap_parser::buildVal ( pos  ) 

builds response structures for compound values (arrays/structs) and scalars

Paramètres:
integer $pos position in node tree
Renvoie:
mixed PHP value private


Documentation des données membres

soap_parser::$xml = ''

soap_parser::$xml_encoding = ''

soap_parser::$method = ''

soap_parser::$root_struct = ''

soap_parser::$root_struct_name = ''

soap_parser::$root_struct_namespace = ''

soap_parser::$root_header = ''

soap_parser::$document = ''

soap_parser::$status = ''

soap_parser::$position = 0

soap_parser::$depth = 0

soap_parser::$default_namespace = ''

soap_parser::$namespaces = array()

Réimplémentée à partir de nusoap_base.

soap_parser::$message = array()

soap_parser::$parent = ''

soap_parser::$fault = false

soap_parser::$fault_code = ''

soap_parser::$fault_str = ''

soap_parser::$fault_detail = ''

soap_parser::$depth_array = array()

soap_parser::$debug_flag = true

soap_parser::$soapresponse = NULL

soap_parser::$responseHeaders = ''

soap_parser::$body_position = 0

soap_parser::$ids = array()

soap_parser::$multirefs = array()

soap_parser::$decode_utf8 = true


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:53 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3