soapval Class Reference

Inherits nusoap_base, and nusoap_base.

Inheritance diagram for soapval:

[legend]
Collaboration diagram for soapval:
[legend]
List of all members.

Public Member Functions

 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 serialize ($use='encoded')
 decode ()
 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 serialize ($use='encoded')
 decode ()

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 <dietrich@ganx4.com>
Version:
$Id$ public


Member Function Documentation

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

constructor

Parameters:
string $name optional name
mixed $type optional type name
mixed $value optional value
mixed $element_ns optional namespace of value
mixed $type_ns optional namespace of type
mixed $attributes associative array of attributes to add to element serialization public

soapval::serialize ( use = 'encoded'  ) 

return serialized value

Parameters:
string $use The WSDL use value (encoded|literal)
Returns:
string XML data public

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Returns:
mixed public

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

constructor

Parameters:
string $name optional name
mixed $type optional type name
mixed $value optional value
mixed $element_ns optional namespace of value
mixed $type_ns optional namespace of type
mixed $attributes associative array of attributes to add to element serialization public

soapval::serialize ( use = 'encoded'  ) 

return serialized value

Parameters:
string $use The WSDL use value (encoded|literal)
Returns:
string XML data public

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Returns:
mixed public


The documentation for this class was generated from the following files:
Generated on Thu Nov 2 00:27:18 2006 for XOOPS Cube Legacy by  doxygen 1.5.1