API Documentation

Zend/Soap/Wsdl/Strategy/Composite.php

Show: inherited
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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Soap  
Subpackage
Wsdl  
Version
$Id: Composite.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Soap_Wsdl_Strategy_Composite

Package: Zend\Soap\Wsdl

Zend_Soap_Wsdl_Strategy_Composite

Implements
\Zend_Soap_Wsdl_Strategy_Interface
Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Soap_Wsdl|null  $_context= ''

Context WSDL file that this composite serves

Details
Type
\Zend_Soap_Wsdlnull
Propertyprotectedstring|\Zend_Soap_Wsdl_Strategy_Interface  $_defaultStrategy= ''

Default Strategy of this composite

Propertyprotectedarray  $_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
Name Type Description
$typeMap array
$defaultStrategy string|\Zend_Soap_Wsdl_Strategy_Interface
Throws
Exception Description
\Zend_Soap_Wsdl_Exception
methodpublicaddComplexType( string $type ) : string

Create a complex type based on a strategy

Parameters
Name Type Description
$type string
Returns
Type Description
string XSD type
Throws
Exception Description
\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
Name Type Description
$type string
$strategy string|\Zend_Soap_Wsdl_Strategy_Interface
Returns
Type Description
\Zend_Soap_Wsdl_Strategy_Composite
Throws
Exception Description
\Zend_Soap_Wsdl_Exception
methodpublicgetDefaultStrategy( ) : \Zend_Soap_Wsdl_Strategy_Interface

Return default strategy of this composite

Returns
Type Description
\Zend_Soap_Wsdl_Strategy_Interface
Throws
Exception Description
\Zend_Soap_Wsdl_Exception
methodpublicgetStrategyOfType( string $type ) : \Zend_Soap_Wsdl_Strategy_Interface

Return specific strategy or the default strategy of this type.

Parameters
Name Type Description
$type string
Returns
Type Description
\Zend_Soap_Wsdl_Strategy_Interface
Throws
Exception Description
\Zend_Soap_Wsdl_Exception
methodpublicsetContext( \Zend_Soap_Wsdl $context ) : void

Method accepts the current WSDL context file.

Parameters
Name Type Description
$context \Zend_Soap_Wsdl
Documentation was generated by DocBlox 0.15.1.