You are here

function wsdl::addElement in Salesforce Suite 5

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

* adds an element to the WSDL types * *

Parameters

array $attrs attributes that must include name and type: * @see xmlschema * @access public

2 calls to wsdl::addElement()
wsdl::addOperation in includes/nusoap.php
* register an operation with the server * *
wsdl::addOperation in includes/nusoap.orig.php
* register an operation with the server * *

File

includes/nusoap.orig.php, line 5686

Class

wsdl
parses a WSDL file, allows access to it's data, other utility methods

Code

function addElement($attrs) {
  $typens = isset($this->namespaces['types']) ? $this->namespaces['types'] : $this->namespaces['tns'];
  $this->schemas[$typens][0]
    ->addElement($attrs);
}