category Zend
package Zend_Service
subpackage StrikeIron
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Service_StrikeIron_Base

 Methods

Proxy method calls to the SOAPClient instance, transforming method calls and responses for convenience.

__call(string $method, array $params) : mixed
Inherited

Parameters

$method

string

Method name

$params

array

Parameters for method

Exceptions

\Zend_Service_StrikeIron_Exception

Returns

mixedResult

Class constructor

__construct(array $options = array()
Inherited

Parameters

$options

array

Key/value pair options

Exceptions

\Zend_Service_StrikeIron_Exception

Get the StrikeIron output headers returned with the last method response.

getLastOutputHeaders() : array
Inherited

Returns

array

Get the SOAP Client instance for this service.

getSoapClient() 
Inherited

Get the StrikeIron subscription information for this service.

getSubscriptionInfo(boolean $now = false, string $queryMethod = 'GetRemainingHits') : \Zend_Service_StrikeIron_Decorator
Inherited

If any service method was recently called, the subscription info should have been returned in the SOAP headers so it is cached and returned from the cache. Otherwise, the getRemainingHits() method is called as a dummy to get the subscription info headers.

Parameters

$now

boolean

Force a call to getRemainingHits instead of cache?

$queryMethod

string

Method that will cause SubscriptionInfo header to be sent

Exceptions

\Zend_Service_StrikeIron_Exception

Returns

\Zend_Service_StrikeIron_DecoratorDecorated subscription info

Get the WSDL URL for this service.

getWsdl() : string
Inherited

Returns

string

Initialize the SOAPClient instance

_initSoapClient() : void
Inherited

Initialize the headers to pass to SOAPClient->__soapCall()

_initSoapHeaders() : void
Inherited

Exceptions

\Zend_Service_StrikeIron_Exception

Transform a method name or method parameters before sending them to the remote service. This can be useful for inflection or other transforms to give the method call a more PHP-like interface.

_transformCall(string $method, $params) : array
Inherited
see

Parameters

$method

string

Method name called from PHP

$params

Returns

array[$method, $params] for SOAPClient->__soapCall()

Transform the result returned from a method before returning it to the PHP caller. This can be useful for transforming the SOAPClient returned result to be more PHP-like.

_transformResult(object $result, string $method, array $params) : mixed
Inherited

The $method name and $params passed to the method are provided to allow decisions to be made about how to transform the result based on what was originally called.

see

Parameters

$result

object

Raw result returned from SOAPClient_>__soapCall()

$method

string

Method name that was passed to SOAPClient->__soapCall()

$params

array

Method parameters that were passed to SOAPClient->__soapCall()

Returns

mixedTransformed result

 Properties

 

Configuration options

$_options 

Default

array('username' => null, 'password' => null, 'client' => null, 'options' => null, 'headers' => null, 'wsdl' => 'http://ws.strikeiron.com/zf1.StrikeIron/taxdatabasic4?WSDL')
param
inherited_from \Zend_Service_StrikeIron_Base::_options
 

Configuration options

$_options 

Default

array('username' => null, 'password' => null, 'client' => null, 'options' => null, 'headers' => null, 'wsdl' => null)
param
 

Output headers returned by the last call to SOAPClient->__soapCall()

$_outputHeaders 

Default

array()
param