Moodle  2.2.1
http://www.collinsharper.com
Zend_Soap_Wsdl_Strategy_Composite Class Reference
Inheritance diagram for Zend_Soap_Wsdl_Strategy_Composite:
Collaboration diagram for Zend_Soap_Wsdl_Strategy_Composite:

Public Member Functions

 __construct (array $typeMap=array(), $defaultStrategy="Zend_Soap_Wsdl_Strategy_DefaultComplexType")
 connectTypeToStrategy ($type, $strategy)
 getDefaultStrategy ()
 getStrategyOfType ($type)
 setContext (Zend_Soap_Wsdl $context)
 addComplexType ($type)

Protected Attributes

 $_typeMap = array()
 $_defaultStrategy
 $_context

Detailed Description

Definition at line 37 of file Composite.php.


Constructor & Destructor Documentation

__construct ( array typeMap = array(),
defaultStrategy = "Zend_Soap_Wsdl_Strategy_DefaultComplexType" 
)

Construct Composite WSDL Strategy.

Exceptions:
Zend_Soap_Wsdl_Exception
Parameters:
array$typeMap
string | Zend_Soap_Wsdl_Strategy_Interface$defaultStrategy

Definition at line 67 of file Composite.php.

Here is the call graph for this function:


Member Function Documentation

addComplexType ( type)

Create a complex type based on a strategy

Exceptions:
Zend_Soap_Wsdl_Exception
Parameters:
string$type
Returns:
string XSD type
See also:
Zend_Soap_Wsdl_Exception

Implements Zend_Soap_Wsdl_Strategy_Interface.

Definition at line 172 of file Composite.php.

Here is the call graph for this function:

connectTypeToStrategy ( type,
strategy 
)

Connect a complex type to a given strategy.

Exceptions:
Zend_Soap_Wsdl_Exception
Parameters:
string$type
string | Zend_Soap_Wsdl_Strategy_Interface$strategy
Returns:
Zend_Soap_Wsdl_Strategy_Composite
See also:
Zend_Soap_Wsdl_Exception

Definition at line 83 of file Composite.php.

Here is the caller graph for this function:

Return default strategy of this composite

Exceptions:
Zend_Soap_Wsdl_Exception
Parameters:
string$type
Returns:
Zend_Soap_Wsdl_Strategy_Interface
See also:
Zend_Soap_Wsdl_Exception

Definition at line 103 of file Composite.php.

Here is the caller graph for this function:

getStrategyOfType ( type)

Return specific strategy or the default strategy of this type.

Exceptions:
Zend_Soap_Wsdl_Exception
Parameters:
string$type
Returns:
Zend_Soap_Wsdl_Strategy_Interface
See also:
Zend_Soap_Wsdl_Exception

Definition at line 129 of file Composite.php.

Here is the call graph for this function:

Here is the caller graph for this function:

setContext ( Zend_Soap_Wsdl context)

Method accepts the current WSDL context file.

Parameters:
Zend_Soap_Wsdl$context

Implements Zend_Soap_Wsdl_Strategy_Interface.

Definition at line 159 of file Composite.php.


Field Documentation

$_context [protected]

Definition at line 58 of file Composite.php.

$_defaultStrategy [protected]

Definition at line 51 of file Composite.php.

$_typeMap = array() [protected]

Definition at line 44 of file Composite.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations