Zend_Soap_Wsdl_Strategy_ArrayOfTypeSequence

category Zend
package Zend_Soap
subpackage Wsdl
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Soap_Wsdl_Strategy_DefaultComplexType

 Methods

Add an unbounded ArrayOfType based on the xsd:sequence syntax if type[] is detected in return value doc comment.

addComplexType(string $type) : string
inherited_from \Zend_Soap_Wsdl_Strategy_DefaultComplexType::addComplexType()

Parameters

$type

string

Returns

stringtns:xsd-type

Add a complex type by recursivly using all the class properties fetched via Reflection.

addComplexType(string $type) : string
Inherited

Parameters

$type

string

Name of the class to be specified

Returns

stringXSD Type for the given PHP type

Return the current Zend_Soap_Wsdl context object

getContext() : \Zend_Soap_Wsdl
Inherited

Returns

\Zend_Soap_Wsdl

Set the Zend_Soap_Wsdl Context object this strategy resides in.

setContext(\Zend_Soap_Wsdl $context) : void
Inherited
inherited_from \Zend_Soap_Wsdl_Strategy_Interface::setContext()

Parameters

$context

\Zend_Soap_Wsdl

Append the complex type definition to the WSDL via the context access

_addElementFromWsdlAndChildTypes(string $arrayType, string $childTypeName) : void

Parameters

$arrayType

string

$childTypeName

string

Return the array nesting level based on the type name

_getNestedCount(string $type) : integer

Parameters

$type

string

Returns

integer

From a nested defintion with type[], get the singular xsd:type

_getSingularType(string $type) : string

Parameters

$type

string

Exceptions

\Zend_Soap_Wsdl_Exception When no xsd:simpletype can be detected.

Returns

string

Strip the xsd: from a singularType and Format it nice for ArrayOf<Type> naming

_getStrippedXsdType(string $singularType) : string

Parameters

$singularType

string

Returns

string

Return the ArrayOf or simple type name based on the singular xsdtype and the nesting level

_getTypeNameBasedOnNestingLevel(string $singularType, integer $level) : string

Parameters

$singularType

string

$level

integer

Returns

string

 Properties

 

Context object

$_context : \Zend_Soap_Wsdl

Default