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 | |
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.
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.
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.
public
Definition at line 1495 of file nusoap.php.
| soapval::decode | ( | ) |
decodes a soapval object into a PHP native type
| object | $soapval optional SOAPx4 soapval object, else uses self |
Definition at line 1533 of file nusoap.php.
{
return $this->value;
}
| soapval::decode | ( | ) |
decodes a soapval object into a PHP native type
Definition at line 1991 of file nusoap.php.
{
return $this->value;
}
| soapval::decode | ( | ) |
decodes a soapval object into a PHP native type
Definition at line 99 of file class.soap_val.php.
{
return $this->value;
}
| soapval::serialize | ( | $ | use = 'encoded' |
) |
return serialized value
| string | $use The WSDL use value (encoded|literal) |
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
| string | $use The WSDL use value (encoded|literal) |
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
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
| 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
| 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
| 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:| 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().
1.7.1