Soap/Wsdl/Strategy/Composite.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

>VPropertyprotected\Zend_Soap_Wsdl|null $_context
Context WSDL file that this composite serves
Details
Type
\Zend_Soap_Wsdl | null
>VPropertyprotectedstring|\Zend_Soap_Wsdl_Strategy_Interface $_defaultStrategy
Default Strategy of this composite
>VPropertyprotectedarray $_typeMap = array()
Typemap of Complex Type => Strategy pairs.
Default valuearray()Details
Type
array

Methods

methodpublic__construct(array $typeMap = array(), string | \Zend_Soap_Wsdl_Strategy_Interface $defaultStrategy = "Zend_Soap_Wsdl_Strategy_DefaultComplexType") : void

Construct Composite WSDL Strategy.

Parameters
NameTypeDescription
$typeMaparray
$defaultStrategystring | \Zend_Soap_Wsdl_Strategy_Interface
Throws
ExceptionDescription
\Zend_Soap_Wsdl_Exception
methodpublicaddComplexType(string $type) : string

Create a complex type based on a strategy

Parameters
NameTypeDescription
$typestring
Returns
TypeDescription
stringXSD type
Throws
ExceptionDescription
\Zend_Soap_Wsdl_Exception
methodpublicconnectTypeToStrategy(string $type, string | \Zend_Soap_Wsdl_Strategy_Interface $strategy) : \Zend_Soap_Wsdl_Strategy_Composite

Connect a complex type to a given strategy.

Parameters
NameTypeDescription
$typestring
$strategystring | \Zend_Soap_Wsdl_Strategy_Interface
Returns
TypeDescription
\Zend_Soap_Wsdl_Strategy_Composite
Throws
ExceptionDescription
\Zend_Soap_Wsdl_Exception
methodpublicgetDefaultStrategy() : \Zend_Soap_Wsdl_Strategy_Interface

Return default strategy of this composite

Returns
TypeDescription
\Zend_Soap_Wsdl_Strategy_Interface
Throws
ExceptionDescription
\Zend_Soap_Wsdl_Exception
methodpublicgetStrategyOfType(string $type) : \Zend_Soap_Wsdl_Strategy_Interface

Return specific strategy or the default strategy of this type.

Parameters
NameTypeDescription
$typestring
Returns
TypeDescription
\Zend_Soap_Wsdl_Strategy_Interface
Throws
ExceptionDescription
\Zend_Soap_Wsdl_Exception
methodpublicsetContext(\Zend_Soap_Wsdl $context) : void

Method accepts the current WSDL context file.

Parameters
NameTypeDescription
$context\Zend_Soap_Wsdl
Documentation was generated by phpDocumentor 2.2.0 .