Documentation TYPO3 par Ameos

soapval Class Reference

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 ()

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.


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

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

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().

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Returns:
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 Les experts TYPO3 avec  doxygen 1.4.6