Zend_Soap_Wsdl_Strategy_Composite

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

 Methods

Construct Composite WSDL Strategy.

__construct(array $typeMap = array(), string|\Zend_Soap_Wsdl_Strategy_Interface $defaultStrategy = "Zend_Soap_Wsdl_Strategy_DefaultComplexType"

Parameters

$typeMap

array

$defaultStrategy

string\Zend_Soap_Wsdl_Strategy_Interface

Exceptions

\Zend_Soap_Wsdl_Exception

Create a complex type based on a strategy

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

Parameters

$type

string

Exceptions

\Zend_Soap_Wsdl_Exception

Returns

stringXSD type

Connect a complex type to a given strategy.

connectTypeToStrategy(string $type, string|\Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_Wsdl_Strategy_Composite

Parameters

$type

string

$strategy

string\Zend_Soap_Wsdl_Strategy_Interface

Exceptions

\Zend_Soap_Wsdl_Exception

Returns

\Zend_Soap_Wsdl_Strategy_Composite

Return default strategy of this composite

getDefaultStrategy() : \Zend_Soap_Wsdl_Strategy_Interface

Exceptions

\Zend_Soap_Wsdl_Exception

Returns

\Zend_Soap_Wsdl_Strategy_Interface

Return specific strategy or the default strategy of this type.

getStrategyOfType(string $type) : \Zend_Soap_Wsdl_Strategy_Interface

Parameters

$type

string

Exceptions

\Zend_Soap_Wsdl_Exception

Returns

\Zend_Soap_Wsdl_Strategy_Interface

Method accepts the current WSDL context file.

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

Parameters

$context

\Zend_Soap_Wsdl

 Properties

 

Context WSDL file that this composite serves

$_context : \Zend_Soap_Wsdl | null

Default

 

Default Strategy of this composite

$_defaultStrategy : string | \Zend_Soap_Wsdl_Strategy_Interface

Default

 

Typemap of Complex Type => Strategy pairs.

$_typeMap : array

Default

array()