Documentation TYPO3 par Ameos

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,v 1.1.2.1 2006/02/13 17:26:55 k-fish Exp
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:


Généré par TYPO3 Ameos avec  doxygen 1.4.6