public function getStrategyOfType($type)
    {
        if (isset($this->_typeMap[$type])) {
            $strategy = $this->_typeMap[$type];

            if (is_string($strategy) && class_exists($strategy)) {
                $strategy = new $strategy();
            }

            if (!($strategy instanceof Zend_Soap_Wsdl_Strategy_Interface)) {
                /**
                 * @see Zend_Soap_Wsdl_Exception
                 */
                require_once "Zend/Soap/Wsdl/Exception.php";
                throw new Zend_Soap_Wsdl_Exception(
                    "Strategy for Complex Type '".$type."' is not a valid strategy object."
                );
            }
            $this->_typeMap[$type] = $strategy;
        } else {
            $strategy = $this->getDefaultStrategy();
        }
        return $strategy;
    }
public function getStrategyOfType($type)
    {
        if (isset($this->_typeMap[$type])) {
            $strategy = $this->_typeMap[$type];

            if (is_string($strategy) && class_exists($strategy)) {
                $strategy = new $strategy();
            }

            if (!($strategy instanceof Zend_Soap_Wsdl_Strategy_Interface)) {
                /**
                 * @see Zend_Soap_Wsdl_Exception
                 */
                require_once "Zend/Soap/Wsdl/Exception.php";
                throw new Zend_Soap_Wsdl_Exception(
                    "Strategy for Complex Type '".$type."' is not a valid strategy object."
                );
            }
            $this->_typeMap[$type] = $strategy;
        } else {
            $strategy = $this->getDefaultStrategy();
        }
        return $strategy;
    }
public function getStrategyOfType ( $ type ) { if ( isset ( $ this -> _typeMap [ $ type ] ) ) { $ strategy = $ this -> _typeMap [ $ type ] ; if ( is_string ( $ strategy ) && class_exists ( $ strategy ) ) { $ strategy = new $ strategy ( ) ; } if ( ! ( $ strategy instanceof Zend_Soap_Wsdl_Strategy_Interface ) ) { /**
                 * @see Zend_Soap_Wsdl_Exception
                 */ require_once "Zend/Soap/Wsdl/Exception.php" ; throw new Zend_Soap_Wsdl_Exception ( "Strategy for Complex Type '" . $ type . "' is not a valid strategy object." ) ; } $ this -> _typeMap [ $ type ] = $ strategy ; } else { $ strategy = $ this -> getDefaultStrategy ( ) ; } return $ strategy ; }
Return specific strategy or the default strategy of this type.

@throws Zend_Soap_Wsdl_Exception
@param  string $type
@return Zend_Soap_Wsdl_Strategy_Interface
Return specific strategy or the default strategy of this type .