Documentation TYPO3 par Ameos

soapval Class Reference

Inheritance diagram for soapval:
Collaboration diagram for soapval:
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


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.

Dietrich Ayala <>
class.nusoap.php 1421 2006-04-10 09:27:15Z mundaun

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

Member Function Documentation

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


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.

soapval::serialize ( use = 'encoded'  ) 

return serialized value

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

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

References nusoap_base::serialize_val().

soapval::decode (  ) 

decodes a soapval object into a PHP native type

mixed public

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

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

Généré par L'expert TYPO3 avec  doxygen 1.4.6