src/XSD2PHP/lib/ZF/1.10.7/Zend/Soap/Wsdl.php
public function addElement($element)
    {
        $schema = $this->getSchema();
        $elementXml = $this->_parseElement($element);
        $schema->appendChild($elementXml);
        return 'tns:' . $element['name'];
    }
public function addElement($element)
    {
        $schema = $this->getSchema();
        $elementXml = $this->_parseElement($element);
        $schema->appendChild($elementXml);
        return 'tns:' . $element['name'];
    }
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.

Example: array( 'name' => 'MyElement',
'sequence' => array( array('name' => 'myString', 'type' => 'string'),
array('name' => 'myInteger', 'type' => 'int') ) );
Resulting XML: <xsd:element name="MyElement"><xsd:complexType><xsd:sequence>
<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