Zend Framework
1.12
|
Public Member Functions | |
__construct ($options=array()) | |
Class constructor. | |
__call ($method, $params) | |
Proxy method calls to the SOAPClient instance, transforming method calls and responses for convenience. | |
getWsdl () | |
Get the WSDL URL for this service. | |
getSoapClient () | |
Get the SOAP Client instance for this service. | |
getLastOutputHeaders () | |
Get the StrikeIron output headers returned with the last method response. | |
getSubscriptionInfo ($now=false, $queryMethod= 'GetRemainingHits') | |
Get the StrikeIron subscription information for this service. | |
Protected Member Functions | |
_initSoapClient () | |
Initialize the SOAPClient instance. | |
_initSoapHeaders () | |
Initialize the headers to pass to SOAPClient->__soapCall() | |
_transformCall ($method, $params) | |
Transform a method name or method parameters before sending them to the remote service. | |
_transformResult ($result, $method, $params) | |
Transform the result returned from a method before returning it to the PHP caller. | |
Protected Attributes | |
$_options | |
Configuration options. | |
$_outputHeaders = array() | |
Output headers returned by the last call to SOAPClient->__soapCall() | |
__construct | ( | $options = array() | ) |
Class constructor.
array | $options | Key/value pair options |
Zend_Service_StrikeIron_Exception |
__call | ( | $method, | |
$params | |||
) |
Proxy method calls to the SOAPClient instance, transforming method calls and responses for convenience.
string | $method | Method name |
array | $params | Parameters for method |
Zend_Service_StrikeIron_Exception |
|
protected |
Initialize the SOAPClient instance.
|
protected |
Initialize the headers to pass to SOAPClient->__soapCall()
Zend_Service_StrikeIron_Exception |
|
protected |
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.
string | $method | Method name called from PHP |
mixed | $param | Parameters passed from PHP |
|
protected |
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.
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.
object | $result | Raw result returned from SOAPClient_>__soapCall() |
string | $method | Method name that was passed to SOAPClient->__soapCall() |
array | $params | Method parameters that were passed to SOAPClient->__soapCall() |
getLastOutputHeaders | ( | ) |
Get the StrikeIron output headers returned with the last method response.
getSoapClient | ( | ) |
Get the SOAP Client instance for this service.
getSubscriptionInfo | ( | $now = false , |
|
$queryMethod = 'GetRemainingHits' |
|||
) |
Get the StrikeIron subscription information for this service.
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.
boolean | $now | Force a call to getRemainingHits instead of cache? |
string | $queryMethod | Method that will cause SubscriptionInfo header to be sent |
Zend_Service_StrikeIron_Exception |
getWsdl | ( | ) |
Get the WSDL URL for this service.
|
protected |
Configuration options.
array |
|
protected |
Output headers returned by the last call to SOAPClient->__soapCall()
array |