You are here

function soapval::serialize in Salesforce Suite 5

Same name in this branch
  1. 5 includes/nusoap.php \soapval::serialize()
  2. 5 includes/nusoap.orig.php \soapval::serialize()
Same name and namespace in other branches
  1. 5.2 includes/nusoap.php \soapval::serialize()
  2. 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.orig.php, line 1972

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);
}