Packageindex Classtrees Modulegroups Elementlist Report XML Files

nusoap_base

nusoap_base

public class nusoap_base

AuthorsDietrich Ayala <dietricha@ganx4.com>
Versionv 0.6

 
Direct known subclasses: soap_parser, soap_server, XMLSchema, soapclient, soap_fault, soap_transport_http, soapval

Public Method Summary

void nusoap_base()
constructor: loads schema version
boolean getError()
returns error string if present
string serialize_val( $val, boolean $name, boolean $type, boolean $name_ns, boolean $type_ns, boolean $attributes)
serializes PHP values in accordance w/ section 5
string serializeEnvelope(string $body, [ boolean $headers, array $namespaces ])
serialize message
void timestamp_to_iso8601(string $timestamp, boolean $utc)
convert unix timestamp to ISO 8601 compliant date string
void iso8601_to_timestamp(string $datestr)
convert ISO 8601 compliant date string to unix timestamp

Private Method Summary

void debug(string $string)
adds debug data to the class level debug string
boolean setError( $str)
sets error string
void formatDump( $str)
Warning: documentation is missing.

Public Field Summary

string $soap_defencoding
set default encoding
array $namespaces
load namespace uris into an array of uri => prefix
array $typemap
load types into typemap array
array $xmlEntities
entities to convert

Private Field Summary

string $title

string $version

boolean $error_str

boolean $charencoding

Public Method Details

nusoap_base

public void nusoap_base()

 

Returns void


getError

public boolean getError()

 

Returns boolean $string

error string


serialize_val

public string serialize_val( $val, boolean $name, boolean $type, boolean $name_ns, boolean $type_ns, boolean $attributes)

 

Parameter
$val
Warning: documentation is missing.
boolean $name
Warning: documentation is missing.
boolean $type
Warning: documentation is missing.
boolean $name_ns
Warning: documentation is missing.
boolean $type_ns
Warning: documentation is missing.
boolean $attributes
Warning: documentation is missing.
Returns string


serializeEnvelope

public string serializeEnvelope(string $body, [ boolean $headers, array $namespaces ])

 

Parameter
string $body
boolean $headers = >>false<<
array $namespaces = >>array()<<
Returns string

message


timestamp_to_iso8601

public void timestamp_to_iso8601(string $timestamp, boolean $utc)

 

Parameter
string $timestamp
Unix time stamp
boolean $utc
Warning: documentation is missing.
Returns void


iso8601_to_timestamp

public void iso8601_to_timestamp(string $datestr)

 

Parameter
string $datestr
ISO 8601 compliant date string
Returns void


Private Method Details

debug

private void debug(string $string)

 

Parameter
string $string
debug data
Returns void


setError

private boolean setError( $str)

 

Parameter
$str
Warning: documentation is missing.
Returns boolean $string

error string


formatDump

private void formatDump( $str)

 

Warning: documentation is missing.

Parameter
$str
Warning: documentation is missing.
Returns void


Public Field Details

$soap_defencoding

public string $soap_defencoding

>>'UTF-8'<<


$namespaces

public array $namespaces

>>array( 'SOAP-ENV' => 'http://schemas.xmlsoap.org/soap/envelope/', 'xsd' => 'http://www.w3.org/2001/XMLSchema', 'xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'SOAP-ENC' => 'http://schemas.xmlsoap.org/soap/encoding/', 'si' => 'http://soapinterop.org/xsd')<<


$typemap

public array $typemap

>>array( 'http://www.w3.org/2001/XMLSchema' => array( 'string'=>'string','boolean'=>'boolean','float'=>'double','double'=>'double','decimal'=>'double', 'duration'=>'','dateTime'=>'string','time'=>'string','date'=>'string','gYearMonth'=>'', 'gYear'=>'','gMonthDay'=>'','gDay'=>'','gMonth'=>'','hexBinary'=>'string','base64Binary'=>'string', // derived datatypes 'normalizedString'=>'string','token'=>'string','language'=>'','NMTOKEN'=>'','NMTOKENS'=>'','Name'=>'','NCName'=>'','ID'=>'', 'IDREF'=>'','IDREFS'=>'','ENTITY'=>'','ENTITIES'=>'','integer'=>'integer','nonPositiveInteger'=>'integer', 'negativeInteger'=>'integer','long'=>'','int'=>'integer','short'=>'','byte'=>'','nonNegativeInteger'=>'integer', 'unsignedLong'=>'','unsignedInt'=>'','unsignedShort'=>'','unsignedByte'=>'','positiveInteger'=>''), 'http://www.w3.org/1999/XMLSchema' => array( 'i4'=>'','int'=>'integer','boolean'=>'boolean','string'=>'string','double'=>'double', 'float'=>'double','dateTime'=>'string', 'timeInstant'=>'string','base64Binary'=>'string','base64'=>'string','ur-type'=>'array'), 'http://soapinterop.org/xsd' => array('SOAPStruct'=>'struct'), 'http://schemas.xmlsoap.org/soap/encoding/' => array('base64'=>'string','array'=>'array','Array'=>'array') )<<

is this legacy yet?


$xmlEntities

public array $xmlEntities

>>array('quot' => '"','amp' => '&', 'lt' => '<','gt' => '>','apos' => "'")<<


Private Field Details

$title

private string $title

>>'NuSOAP'<<


$version

private string $version

>>'0.6'<<


$error_str

private boolean $error_str

>>false<<


$charencoding

private boolean $charencoding

>>true<<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
Generated on Mon, 22 Apr 2002 16:07:52 -0700 by PHPDoc v1.5 www.phpdoc.de