API Documentation

Soap/Wsdl/Strategy/Composite.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Soap
subpackage
Wsdl
version
$Id: Composite.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Soap_Wsdl_Strategy_Composite

Description

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.

Zend_Soap_Wsdl_Strategy_Composite

Implements
Zend_Soap_Wsdl_Strategy_Interface
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Soap
subpackage
Wsdl
Properties
$_typeMap
$_defaultStrategy
$_context
Methods
__construct
connectTypeToStrategy
getDefaultStrategy
getStrategyOfType
setContext
addComplexType

Description

Zend_Soap_Wsdl_Strategy_Composite

Properties

$_context

Zend_Soap_Wsdl|null $_context = ''

Context WSDL file that this composite serves

Details

$_context
Zend_Soap_Wsdl|null
visibility
protected
default
final
false
static
false

$_defaultStrategy

string|Zend_Soap_Wsdl_Strategy_Interface $_defaultStrategy = ''

Default Strategy of this composite

Details

$_defaultStrategy
string|Zend_Soap_Wsdl_Strategy_Interface
visibility
protected
default
final
false
static
false

$_typeMap

array $_typeMap = 'array'

Typemap of Complex Type => Strategy pairs.

Details

$_typeMap
array
visibility
protected
default
array
final
false
static
false

Methods

__construct

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

Construct Composite WSDL Strategy.

Arguments
$typeMap
array
$defaultStrategy
stringZend_Soap_Wsdl_Strategy_Interface
Details
visibility
public
final
false
static
false
throws

addComplexType

addComplexType( string $type ) : string

Create a complex type based on a strategy

Arguments
$type
string
Output
string
XSD type
Details
visibility
public
final
false
static
false
throws

connectTypeToStrategy

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

Connect a complex type to a given strategy.

Arguments
$type
string
$strategy
stringZend_Soap_Wsdl_Strategy_Interface
Details
visibility
public
final
false
static
false
throws

getDefaultStrategy

getDefaultStrategy( ) : Zend_Soap_Wsdl_Strategy_Interface

Return default strategy of this composite

Details
visibility
public
final
false
static
false
throws

getStrategyOfType

getStrategyOfType( string $type ) : Zend_Soap_Wsdl_Strategy_Interface

Return specific strategy or the default strategy of this type.

Arguments
$type
string
Details
visibility
public
final
false
static
false
throws

setContext

setContext( Zend_Soap_Wsdl $context ) :

Method accepts the current WSDL context file.

Arguments
$context
Zend_Soap_Wsdl
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.