Soap/Wsdl/Strategy/Composite.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Soap
- Subpackage
- Wsdl
- Version
- $Id$
\Zend_Soap_Wsdl_Strategy_Composite
Package: Zend_Soap\Wsdl







Zend_Soap_Wsdl_Strategy_Composite
- Implements
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties

\Zend_Soap_Wsdl|null $_contextContext WSDL file that this composite serves
Details
- Type
- \Zend_Soap_Wsdl | null

string|\Zend_Soap_Wsdl_Strategy_Interface $_defaultStrategyDefault Strategy of this composite
Details
- Type
- string | \Zend_Soap_Wsdl_Strategy_Interface
Methods

__construct(array $typeMap = array(), string | \Zend_Soap_Wsdl_Strategy_Interface $defaultStrategy = "Zend_Soap_Wsdl_Strategy_DefaultComplexType") : voidConstruct Composite WSDL Strategy.
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $typeMap | array | |
| $defaultStrategy | string | \Zend_Soap_Wsdl_Strategy_Interface |
| Exception | Description |
|---|---|
| \Zend_Soap_Wsdl_Exception |

addComplexType(string $type) : stringCreate a complex type based on a strategy
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $type | string |
| Type | Description |
|---|---|
| string | XSD type |
| Exception | Description |
|---|---|
| \Zend_Soap_Wsdl_Exception |

connectTypeToStrategy(string $type, string | \Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_Wsdl_Strategy_CompositeConnect a complex type to a given strategy.
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $type | string | |
| $strategy | string | \Zend_Soap_Wsdl_Strategy_Interface |
| Type | Description |
|---|---|
| \Zend_Soap_Wsdl_Strategy_Composite |
| Exception | Description |
|---|---|
| \Zend_Soap_Wsdl_Exception |

getDefaultStrategy() : \Zend_Soap_Wsdl_Strategy_InterfaceReturn default strategy of this composite
Returns
Throws
| Type | Description |
|---|---|
| \Zend_Soap_Wsdl_Strategy_Interface |
| Exception | Description |
|---|---|
| \Zend_Soap_Wsdl_Exception |

getStrategyOfType(string $type) : \Zend_Soap_Wsdl_Strategy_InterfaceReturn specific strategy or the default strategy of this type.
Parameters
Returns
Throws
| Name | Type | Description |
|---|---|---|
| $type | string |
| Type | Description |
|---|---|
| \Zend_Soap_Wsdl_Strategy_Interface |
| Exception | Description |
|---|---|
| \Zend_Soap_Wsdl_Exception |

setContext(\Zend_Soap_Wsdl $context) : voidMethod accepts the current WSDL context file.
Parameters
| Name | Type | Description |
|---|---|---|
| $context | \Zend_Soap_Wsdl |