"TYPO3 4.0.1: soapval Class Reference", "datetime" => "Sat Dec 2 19:25:42 2006", "date" => "2 Dec 2006", "doxygenversion" => "1.4.6", "projectname" => "TYPO3 4.0.1", "projectnumber" => "4.0.1" ); get_header($doxygen_vars); ?>

soapval Class Reference

Inheritance diagram for soapval:

Inheritance graph
[legend]
Collaboration diagram for soapval:

Collaboration graph
[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 ()

Public Attributes

 $name
 $type
 $value
 $element_ns
 $type_ns
 $attributes

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
class.nusoap.php 1421 2006-04-10 09:27:15Z mundaun
public

Definition at line 1892 of file class.nusoap.php.


Constructor & Destructor 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

Definition at line 1947 of file class.nusoap.php.

References $attributes, $element_ns, $name, $type, $type_ns, and $value.


Member Function Documentation

soapval::decode  ) 
 

decodes a soapval object into a PHP native type

Returns:
mixed public

Definition at line 1974 of file class.nusoap.php.

soapval::serialize use = 'encoded'  ) 
 

return serialized value

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

Definition at line 1964 of file class.nusoap.php.

References nusoap_base::serialize_val().


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