import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -16,7 +16,7 @@
* @package Zend_Soap
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: Wsdl.php 16210 2009-06-21 19:22:17Z thomas $
* @version $Id: Wsdl.php 18951 2009-11-12 16:26:19Z alexander $
*/
require_once "Zend/Soap/Wsdl/Strategy/Interface.php";
@ -595,10 +595,10 @@ class Zend_Soap_Wsdl
// delegates the detection of a complex type to the current strategy
return $strategy->addComplexType($type);
}
/**
* Parse an xsd:element represented as an array into a DOMElement.
*
*
* @param array $element an xsd:element represented as an array
* @return DOMElement parsed element
*/
@ -608,7 +608,7 @@ class Zend_Soap_Wsdl
require_once "Zend/Soap/Wsdl/Exception.php";
throw new Zend_Soap_Wsdl_Exception("The 'element' parameter needs to be an associative array.");
}
$elementXml = $this->_dom->createElement('xsd:element');
foreach ($element as $key => $value) {
if (in_array($key, array('sequence', 'all', 'choice'))) {
@ -630,10 +630,10 @@ class Zend_Soap_Wsdl
}
return $elementXml;
}
/**
* Add an xsd:element represented as an array to the schema.
*
*
* Array keys represent attribute names and values their respective value.
* The 'sequence', 'all' and 'choice' keys must have an array of elements as their value,
* to add them to a nested complexType.
@ -645,7 +645,7 @@ class Zend_Soap_Wsdl
* <xsd:element name="myString" type="string"/>
* <xsd:element name="myInteger" type="int"/>
* </xsd:sequence></xsd:complexType></xsd:element>
*
*
* @param array $element an xsd:element represented as an array
* @return string xsd:element for the given element array
*/