XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
soapval Class Reference
Inheritance diagram for soapval:
nusoap_base

Public Member Functions

 __construct ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 
 serialize ($use='encoded')
 
 decode ()
 
- Public Member Functions inherited from nusoap_base
 __construct ()
 
 getGlobalDebugLevel ()
 
 setGlobalDebugLevel ($level)
 
 getDebugLevel ()
 
 setDebugLevel ($level)
 
 debug ($string)
 
 appendDebug ($string)
 
 clearDebug ()
 
getDebug ()
 
getDebugAsXMLComment ()
 
 expandEntities ($val)
 
 getError ()
 
 setError ($str)
 
 isArraySimpleOrStruct ($val)
 
 serialize_val ($val, $name=false, $type=false, $name_ns=false, $type_ns=false, $attributes=false, $use='encoded', $soapval=false)
 
 serializeEnvelope ($body, $headers=false, $namespaces=[], $style='rpc', $use='encoded', $encodingStyle='https://schemas.xmlsoap.org/soap/encoding/')
 
 formatDump ($str)
 
 contractQname ($qname)
 
 expandQname ($qname)
 
 getLocalPart ($str)
 
 getPrefix ($str)
 
 getNamespaceFromPrefix ($prefix)
 
 getPrefixFromNamespace ($ns)
 
 getmicrotime ()
 
 varDump ($data)
 
 __toString ()
 

Data Fields

 $name
 
 $type
 
 $value
 
 $element_ns
 
 $type_ns
 
 $attributes
 
- Data Fields inherited from nusoap_base
 $title = 'NuSOAP'
 
 $version = '0.9.5'
 
 $revision = '$Revision: 1.123 $'
 
 $error_str = ''
 
 $debug_str = ''
 
 $charencoding = true
 
 $debugLevel
 
 $XMLSchemaVersion = 'https://www.w3.org/2001/XMLSchema'
 
 $soap_defencoding = 'UTF-8'
 
 $namespaces
 
 $usedNamespaces = []
 
 $typemap
 
 $xmlEntities
 

Detailed Description

For creating serializable abstractions of native PHP types. This class allows element name/namespace, XSD type, and XML attributes to be associated with a value. This is extremely useful when WSDL is not used, but is also useful when WSDL is used with polymorphic types, including xsd:anyType and user-defined types.

Author
Dietrich Ayala dietr.nosp@m.ich@.nosp@m.ganx4.nosp@m..com
Version
Id
nusoap.php,v 1.123 2010/04/26 20:15:08 snichol Exp

@access public

Definition at line 2118 of file nusoap.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $name = 'soapval',
$type = false,
$value = -1,
$element_ns = false,
$type_ns = false,
$attributes = false )

constructor

Parameters
string$nameoptional name
mixed$typeoptional type name
mixed$valueoptional value
mixed$element_nsoptional namespace of value
mixed$type_nsoptional namespace of type
mixed$attributesassociative array of attributes to add to element serialization @access public

Definition at line 2174 of file nusoap.php.

Member Function Documentation

◆ decode()

decode ( )

decodes a soapval object into a PHP native type

Returns
mixed @access public

Definition at line 2203 of file nusoap.php.

◆ serialize()

serialize ( $use = 'encoded')

return serialized value

Parameters
string$useThe WSDL use value (encoded|literal)
Returns
string XML data @access public

Definition at line 2192 of file nusoap.php.

Field Documentation

◆ $attributes

$attributes

Definition at line 2161 of file nusoap.php.

◆ $element_ns

$element_ns

Definition at line 2147 of file nusoap.php.

◆ $name

$name

Definition at line 2126 of file nusoap.php.

◆ $type

$type

Definition at line 2133 of file nusoap.php.

◆ $type_ns

$type_ns

Definition at line 2154 of file nusoap.php.

◆ $value

$value

Definition at line 2140 of file nusoap.php.


The documentation for this class was generated from the following file: