function soapval::serialize in Salesforce Suite 5
Same name in this branch
- 5 includes/nusoap.php \soapval::serialize()
- 5 includes/nusoap.orig.php \soapval::serialize()
Same name and namespace in other branches
- 5.2 includes/nusoap.php \soapval::serialize()
- 5.2 includes/nusoap.orig.php \soapval::serialize()
* return serialized value * *
Parameters
string $use The WSDL use value (encoded|literal): * @return string XML data * @access public
File
- includes/
nusoap.php, line 1977
Class
- soapval
- 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…
Code
function serialize($use = 'encoded') {
return $this
->serialize_val($this->value, $this->name, $this->type, $this->element_ns, $this->type_ns, $this->attributes, $use);
}