Ampache
[ class tree: Ampache ] [ index: Ampache ] [ all elements ]

Class: nusoap_parser

Source Location: /modules/nusoap/nusoap.php

Class Overview

nusoap_base
   |
   --nusoap_parser

nusoap_parser class parses SOAP XML messages into native PHP values


Author(s):

Version:

  • $Id$

Variables

Methods


Child classes:

soap_parser
Backward compatibility

Inherited Variables

Inherited Methods

Class: nusoap_base

nusoap_base::nusoap_base()
constructor
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::formatDump()
formats a string to be inserted into an HTML stream
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::getDebugLevel()
gets the debug level for this instance
nusoap_base::getError()
returns error string if present
nusoap_base::getGlobalDebugLevel()
gets the global debug level, which applies to future instances
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
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::serializeEnvelope()
serializes a message
nusoap_base::serialize_val()
serializes PHP values in accordance w/ section 5. Type information is not serialized if $use == 'literal'.
nusoap_base::setDebugLevel()
sets the debug level for this instance
nusoap_base::setGlobalDebugLevel()
sets the global debug level, which applies to future instances
nusoap_base::varDump()
Returns a string with the output of var_dump
nusoap_base::__toString()
represents the object as a string

Class Details

[line 6395]
nusoap_parser class parses SOAP XML messages into native PHP values



Tags:

author:  Scott Nichol <snichol@users.sourceforge.net>
author:  Dietrich Ayala <dietrich@ganx4.com>
version:  $Id$
access:  public


[ Top ]


Class Variables

$body_position =  0

[line 6422]


Type:   mixed


[ Top ]

$debug_flag =  true

[line 6418]


Type:   mixed


[ Top ]

$decode_utf8 =  true

[line 6429]


Type:   mixed


[ Top ]

$default_namespace =  ''

[line 6409]


Type:   mixed


[ Top ]

$depth =  0

[line 6408]


Type:   mixed


[ Top ]

$depth_array = array()

[line 6417]


Type:   mixed


[ Top ]

$document =  ''

[line 6404]


Type:   mixed


[ Top ]

$fault =  false

[line 6413]


Type:   mixed


[ Top ]

$fault_code =  ''

[line 6414]


Type:   mixed


[ Top ]

$fault_detail =  ''

[line 6416]


Type:   mixed


[ Top ]

$fault_str =  ''

[line 6415]


Type:   mixed


[ Top ]

$ids = array()

[line 6425]


Type:   mixed


[ Top ]

$message = array()

[line 6411]


Type:   mixed


[ Top ]

$method =  ''

[line 6399]


Type:   mixed


[ Top ]

$multirefs = array()

[line 6427]


Type:   mixed


[ Top ]

$namespaces = array()

[line 6410]


Type:   mixed
Overrides:   Array


[ Top ]

$parent =  ''

[line 6412]


Type:   mixed


[ Top ]

$position =  0

[line 6407]


Type:   mixed


[ Top ]

$responseHeaders =  ''

[line 6421]


Type:   mixed


[ Top ]

$root_header =  ''

[line 6403]


Type:   mixed


[ Top ]

$root_struct =  ''

[line 6400]


Type:   mixed


[ Top ]

$root_struct_name =  ''

[line 6401]


Type:   mixed


[ Top ]

$root_struct_namespace =  ''

[line 6402]


Type:   mixed


[ Top ]

$soapheader =  NULL

[line 6420]


Type:   mixed


[ Top ]

$soapresponse =  NULL

[line 6419]


Type:   mixed


[ Top ]

$status =  ''

[line 6406]


Type:   mixed


[ Top ]

$xml =  ''

[line 6397]


Type:   mixed


[ Top ]

$xml_encoding =  ''

[line 6398]


Type:   mixed


[ Top ]



Class Methods


constructor nusoap_parser [line 6440]

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

constructor that actually does the parsing



Tags:

access:  public


Parameters:

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

[ Top ]

method getHeaders [line 6847]

string getHeaders( )

get the unparsed SOAP Header



Tags:

return:  XML or empty if no Header
access:  public


[ Top ]

method get_response [line 6817]

mixed get_response( )

get the parsed message (SOAP Body)



Tags:

deprecated:  use get_soapbody instead
access:  public


[ Top ]

method get_soapbody [line 6827]

mixed get_soapbody( )

get the parsed SOAP Body (NULL if there was none)



Tags:

access:  public


[ Top ]

method get_soapheader [line 6837]

mixed get_soapheader( )

get the parsed SOAP Header (NULL if there was none)



Tags:

access:  public


[ Top ]


Documentation generated on Thu, 12 Feb 2009 08:00:01 +0900 by phpDocumentor 1.4.2