Public Member Functions | Data Fields

soapval Class Reference

for creating serializable abstractions of native PHP types NOTE: this is only really used when WSDL is not available. More...

Inheritance diagram for soapval:
Collaboration diagram for soapval:

Public Member Functions

 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 constructor
 serialize ($use='encoded')
 return serialized value
 decode ()
 decodes a soapval object into a PHP native type
 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 constructor
 serialize ($use='encoded')
 return serialized value
 decode ()
 decodes a soapval object into a PHP native type
 soapval ($name='soapval', $type=false, $value=-1, $element_ns=false, $type_ns=false, $attributes=false)
 constructor
 serialize ($use='encoded')
 return serialized value
 decode ()
 decodes a soapval object into a PHP native type

Data Fields

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

Detailed Description

for creating serializable abstractions of native PHP types NOTE: this is only really used when WSDL is not available.

For creating serializable abstractions of native PHP types.

Author:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id:
nusoap.php 11808 2006-08-08 09:57:04Z akill

public

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.soap_val.php 14918 2007-10-07 17:02:40Z rkuester

public

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:
nusoap.php 16602 2008-05-08 14:27:44Z rkuester

public

Definition at line 1495 of file nusoap.php.


Member Function Documentation

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Parameters:
object $soapval optional SOAPx4 soapval object, else uses self
Returns:
mixed public

Definition at line 1533 of file nusoap.php.

                         {
                return $this->value;
        }

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Returns:
mixed public

Definition at line 1991 of file nusoap.php.

                         {
                return $this->value;
        }

soapval::decode (  ) 

decodes a soapval object into a PHP native type

Returns:
mixed public

Definition at line 99 of file class.soap_val.php.

                         {
                return $this->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 1981 of file nusoap.php.

References nusoap_base::serialize_val().

                                           {
                return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
    }

Here is the call graph for this function:

soapval::serialize ( use = 'encoded'  ) 

return serialized value

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

Definition at line 89 of file class.soap_val.php.

References nusoap_base::serialize_val().

                                           {
                return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
    }

Here is the call graph for this function:

soapval::serialize ( use = 'encoded'  ) 

return serialized value

Returns:
string XML data private

Definition at line 1522 of file nusoap.php.

References nusoap_base::serialize_val().

                                           {
                return $this->serialize_val($this->value,$this->name,$this->type,$this->element_ns,$this->type_ns,$this->attributes,$use);
    }

Here is the call graph for this function:

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 1964 of file nusoap.php.

References $attributes, $element_ns, $name, $type, $type_ns, $value, and nusoap_base::nusoap_base().

                                                                                                                   {
                parent::nusoap_base();
                $this->name = $name;
                $this->type = $type;
                $this->value = $value;
                $this->element_ns = $element_ns;
                $this->type_ns = $type_ns;
                $this->attributes = $attributes;
    }

Here is the call graph for this function:

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

constructor

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

Definition at line 1507 of file nusoap.php.

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

                                                                                                                   {
                $this->name = $name;
                $this->value = $value;
                $this->type = $type;
                $this->element_ns = $element_ns;
                $this->type_ns = $type_ns;
                $this->attributes = $attributes;
    }

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 72 of file class.soap_val.php.

References $attributes, $element_ns, $name, $type, $type_ns, $value, and nusoap_base::nusoap_base().

                                                                                                                   {
                parent::nusoap_base();
                $this->name = $name;
                $this->type = $type;
                $this->value = $value;
                $this->element_ns = $element_ns;
                $this->type_ns = $type_ns;
                $this->attributes = $attributes;
    }

Here is the call graph for this function:


Field Documentation

soapval::$attributes

Definition at line 59 of file class.soap_val.php.

Referenced by soapval().

soapval::$element_ns

Definition at line 45 of file class.soap_val.php.

Referenced by soapval().

soapval::$name

Definition at line 24 of file class.soap_val.php.

Referenced by soapval().

soapval::$type

Definition at line 31 of file class.soap_val.php.

Referenced by soapval().

soapval::$type_ns

Definition at line 52 of file class.soap_val.php.

Referenced by soapval().

soapval::$value

Definition at line 38 of file class.soap_val.php.

Referenced by soapval().


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