[ Index ]
 

Code source de nusoap 0.7.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/ -> class.nusoap_base.php (sommaire)

(pas de description)

Poids: 905 lignes (27 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 8 fichiers
 lib/class.soap_fault.php
 lib/class.wsdl.php
 lib/class.soap_parser.php
 lib/class.soap_server.php
 lib/class.xmlschema.php
 lib/class.soap_transport_http.php
 lib/class.soap_val.php
 lib/class.soapclient.php

Définit 1 class

nusoap_base:: (28 méthodes):
  nusoap_base()
  getGlobalDebugLevel()
  setGlobalDebugLevel()
  getDebugLevel()
  setDebugLevel()
  debug()
  appendDebug()
  clearDebug()
  getDebug()
  getDebugAsXMLComment()
  expandEntities()
  getError()
  setError()
  isArraySimpleOrStruct()
  serialize_val()
  serializeEnvelope()
  formatDump()
  contractQname()
  expandQname()
  getLocalPart()
  getPrefix()
  getNamespaceFromPrefix()
  getPrefixFromNamespace()
  getmicrotime()
  varDump()
  timestamp_to_iso8601()
  iso8601_to_timestamp()
  usleepWindows()


Classe: nusoap_base  - X-Ref

nusoap_base

nusoap_base()   X-Ref
constructor


getGlobalDebugLevel()   X-Ref
gets the global debug level, which applies to future instances

return: integer    Debug level 0-9, where 0 turns off

setGlobalDebugLevel($level)   X-Ref
sets the global debug level, which applies to future instances

param: int    $level    Debug level 0-9, where 0 turns off

getDebugLevel()   X-Ref
gets the debug level for this instance

return: int    Debug level 0-9, where 0 turns off

setDebugLevel($level)   X-Ref
sets the debug level for this instance

param: int    $level    Debug level 0-9, where 0 turns off

debug($string)   X-Ref
adds debug data to the instance debug string with formatting

param: string $string debug data

appendDebug($string)   X-Ref
adds debug data to the instance debug string without formatting

param: string $string debug data

clearDebug()   X-Ref
clears the current debug data for this instance


getDebug()   X-Ref
gets the current debug data for this instance

return: debug data

getDebugAsXMLComment()   X-Ref
gets the current debug data for this instance as an XML comment
this may change the contents of the debug data

return: debug data as an XML comment

expandEntities($val)   X-Ref
expands entities, e.g. changes '<' to '&lt;'.

param: string    $val    The string in which to expand entities.

getError()   X-Ref
returns error string if present

return: mixed error string or false

setError($str)   X-Ref
sets error string

return: boolean $string error string

isArraySimpleOrStruct($val)   X-Ref
detect if array is a simple array or a struct (associative array)

param: mixed    $val    The PHP array
return: string    (arraySimple|arrayStruct)

serialize_val($val,$name=false,$type=false,$name_ns=false,$type_ns=false,$attributes=false,$use='encoded')   X-Ref
serializes PHP values in accordance w/ section 5. Type information is
not serialized if $use == 'literal'.

param: mixed    $val    The value to serialize
param: string    $name    The name (local part) of the XML element
param: string    $type    The XML schema type (local part) for the element
param: string    $name_ns    The namespace for the name of the XML element
param: string    $type_ns    The namespace for the type of the element
param: array    $attributes    The attributes to serialize as name=>value pairs
param: string    $use    The WSDL "use" (encoded|literal)
return: string    The serialized element, possibly with child elements

serializeEnvelope($body,$headers=false,$namespaces=array()   X-Ref
serializes a message

param: string $body the XML of the SOAP body
param: mixed $headers optional string of XML with SOAP header content, or array of soapval objects for SOAP headers
param: array $namespaces optional the namespaces used in generating the body and headers
param: string $style optional (rpc|document)
param: string $use optional (encoded|literal)
param: string $encodingStyle optional (usually 'http://schemas.xmlsoap.org/soap/encoding/' for encoded)
return: string the message

formatDump($str)   X-Ref
formats a string to be inserted into an HTML stream

param: string $str The string to format
return: string The formatted string

contractQname($qname)   X-Ref
contracts (changes namespace to prefix) a qualified name

param: string $qname qname
return: string contracted qname

expandQname($qname)   X-Ref
expands (changes prefix to namespace) a qualified name

param: string $string qname
return: string expanded qname

getLocalPart($str)   X-Ref
returns the local part of a prefixed string
returns the original string, if not prefixed

param: string $str The prefixed string
return: string The local part

getPrefix($str)   X-Ref
returns the prefix part of a prefixed string
returns false, if not prefixed

param: string $str The prefixed string
return: mixed The prefix or false if there is no prefix

getNamespaceFromPrefix($prefix)   X-Ref
pass it a prefix, it returns a namespace

param: string $prefix The prefix
return: mixed The namespace, false if no namespace has the specified prefix

getPrefixFromNamespace($ns)   X-Ref
returns the prefix for a given namespace (or prefix)
or false if no prefixes registered for the given namespace

param: string $ns The namespace
return: mixed The prefix, false if the namespace has no prefixes

getmicrotime()   X-Ref
returns the time in ODBC canonical form with microseconds

return: string The time in ODBC canonical form with microseconds

varDump($data)   X-Ref
Returns a string with the output of var_dump

param: mixed $data The variable to var_dump
return: string The output of var_dump

timestamp_to_iso8601($timestamp,$utc=true)   X-Ref
convert unix timestamp to ISO 8601 compliant date string

param: string $timestamp Unix time stamp

iso8601_to_timestamp($datestr)   X-Ref
convert ISO 8601 compliant date string to unix timestamp

param: string $datestr ISO 8601 compliant date string

usleepWindows($usec)   X-Ref
sleeps some number of microseconds

param: string $usec the number of microseconds to sleep



Généré le : Mon Sep 10 13:53:24 2007 par Balluche grâce à PHPXref 0.7