Public Member Functions

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

Detailed Description

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

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

public

Author:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id:
class.soap_val.php 9095 2005-11-08 13:17:14Z smeyer

public

Author:
Dietrich Ayala <dietrich@ganx4.com>
Version:
Id:
nusoap.php 14554 2007-08-22 08:15:34Z smeyer

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

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

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

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

                         {
                return $this->value;
        }

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::serialize ( use = 'encoded'  ) 

return serialized value

Returns:
string XML data private

Definition at line 40 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
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 $type.

                                                                                                                   {
                $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
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 $type.

                                                                                                                   {
                $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
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 25 of file class.soap_val.php.

References $type.

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


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