You are here

function soapval::soapval in Salesforce Suite 5.2

Same name in this branch
  1. 5.2 includes/nusoap.php \soapval::soapval()
  2. 5.2 includes/nusoap.orig.php \soapval::soapval()
Same name and namespace in other branches
  1. 5 includes/nusoap.php \soapval::soapval()
  2. 5 includes/nusoap.orig.php \soapval::soapval()

* constructor * *

Parameters

string $name optional name: * @param mixed $type optional type name * @param mixed $value optional value * @param mixed $element_ns optional namespace of value * @param mixed $type_ns optional namespace of type * @param mixed $attributes associative array of attributes to add to element serialization * @access public

File

includes/nusoap.php, line 1960

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 soapval($name = 'soapval', $type = false, $value = -1, $element_ns = false, $type_ns = false, $attributes = false) {
  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;
}