Definition at line 37 of file Composite.php.
◆ __construct()
__construct |
( |
array |
$typeMap = array() , |
|
|
|
$defaultStrategy = "Zend_Soap_Wsdl_Strategy_DefaultComplexType" |
|
) |
| |
Construct Composite WSDL Strategy.
- Exceptions
-
- Parameters
-
Definition at line 67 of file Composite.php.
69 foreach($typeMap AS
$type => $strategy) {
72 $this->_defaultStrategy = $defaultStrategy;
connectTypeToStrategy($type, $strategy)
◆ addComplexType()
Create a complex type based on a strategy
- Exceptions
-
- Parameters
-
- Returns
- string XSD type
- See also
- Zend_Soap_Wsdl_Exception
Implements Zend_Soap_Wsdl_Strategy_Interface.
Definition at line 172 of file Composite.php.
178 #require_once "Zend/Soap/Wsdl/Exception.php"; 180 "Cannot add complex type '".
$type.
"', no context is set for this composite strategy." 185 $strategy->setContext($this->_context);
186 return $strategy->addComplexType(
$type);
◆ connectTypeToStrategy()
connectTypeToStrategy |
( |
|
$type, |
|
|
|
$strategy |
|
) |
| |
◆ getDefaultStrategy()
Return default strategy of this composite
- Exceptions
-
- Parameters
-
- Returns
- Zend_Soap_Wsdl_Strategy_Interface
- See also
- Zend_Soap_Wsdl_Exception
Definition at line 103 of file Composite.php.
107 $strategy =
new $strategy;
113 #require_once "Zend/Soap/Wsdl/Exception.php"; 115 "Default Strategy for Complex Types is not a valid strategy object." 118 $this->_defaultStrategy = $strategy;
◆ getStrategyOfType()
getStrategyOfType |
( |
|
$type | ) |
|
Return specific strategy or the default strategy of this type.
- Exceptions
-
- Parameters
-
- Returns
- Zend_Soap_Wsdl_Strategy_Interface
- See also
- Zend_Soap_Wsdl_Exception
Definition at line 129 of file Composite.php.
131 if(isset($this->_typeMap[
$type])) {
132 $strategy = $this->_typeMap[
$type];
135 $strategy =
new $strategy();
142 #require_once "Zend/Soap/Wsdl/Exception.php"; 144 "Strategy for Complex Type '".
$type.
"' is not a valid strategy object." 147 $this->_typeMap[
$type] = $strategy;
◆ setContext()
◆ $_context
◆ $_defaultStrategy
◆ $_typeMap
The documentation for this class was generated from the following file:
- vendor/magento/zendframework1/library/Zend/Soap/Wsdl/Strategy/Composite.php