Service/StrikeIron/ZipCodeInfo.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service
- Subpackage
- StrikeIron
- Version
- $Id: ZipCodeInfo.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Service_StrikeIron_ZipCodeInfo
- Parent(s)
- \Zend_Service_StrikeIron_Base
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties


$_options = array('username' => null, 'password' => null, 'client' => null, 'options' => null, 'headers' => null, 'wsdl' => 'http://sdpws.strikeiron.com/zf1.StrikeIron/sdpZIPCodeInfo?WSDL')
Configuration options
array('username' => null, 'password' => null, 'client' => null, 'options' => null, 'headers' => null, 'wsdl' => 'http://sdpws.strikeiron.com/zf1.StrikeIron/sdpZIPCodeInfo?WSDL')
Details- Type
- n/a
- $_options
array


$_outputHeaders = array()
Output headers returned by the last call to SOAPClient->__soapCall()
Inherited from: \Zend_Service_StrikeIron_Base::$$_outputHeadersarray()
Details- Type
- n/a
- Inherited_from
- \Zend_Service_StrikeIron_Base::$$_outputHeaders
- $_outputHeaders
array
Methods


__call(string $method, array $params) : mixed
Proxy method calls to the SOAPClient instance, transforming method calls and responses for convenience.
Inherited from: \Zend_Service_StrikeIron_Base::__call()Name | Type | Description |
---|---|---|
$method | string | Method name |
$params | array | Parameters for method |
Type | Description |
---|---|
mixed | Result |
Exception | Description |
---|---|
\Zend_Service_StrikeIron_Exception |


__construct(array $options = array()) : void
Name | Type | Description |
---|---|---|
$options | array | Key/value pair options |
Exception | Description |
---|---|
\Zend_Service_StrikeIron_Exception |


_initSoapClient() : void
Initialize the SOAPClient instance
Inherited from: \Zend_Service_StrikeIron_Base::_initSoapClient()

_initSoapHeaders() : void
Initialize the headers to pass to SOAPClient->__soapCall()
Inherited from: \Zend_Service_StrikeIron_Base::_initSoapHeaders()Exception | Description |
---|---|
\Zend_Service_StrikeIron_Exception |


_transformCall(string $method, $params) : array
Transform a method name or method parameters before sending them to the remote service.
Inherited from: \Zend_Service_StrikeIron_Base::_transformCall()This can be useful for inflection or other transforms to give the method call a more PHP-like interface.
Name | Type | Description |
---|---|---|
$method | string | Method name called from PHP |
$params |
Type | Description |
---|---|
array | [$method, $params] for SOAPClient->__soapCall() |
- See
- \global\__call()


_transformResult(object $result, string $method, array $params) : mixed
Transform the result returned from a method before returning it to the PHP caller.
Inherited from: \Zend_Service_StrikeIron_Base::_transformResult()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.
Name | Type | Description |
---|---|---|
$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() |
Type | Description |
---|---|
mixed | Transformed result |
- See
- \global\__call()


getLastOutputHeaders() : array
Get the StrikeIron output headers returned with the last method response.
Inherited from: \Zend_Service_StrikeIron_Base::getLastOutputHeaders()Type | Description |
---|---|
array |


getSoapClient() : void
Get the SOAP Client instance for this service.
Inherited from: \Zend_Service_StrikeIron_Base::getSoapClient()

getSubscriptionInfo(boolean $now = false, string $queryMethod = 'GetRemainingHits') : \Zend_Service_StrikeIron_Decorator
Get the StrikeIron subscription information for this service.
Inherited from: \Zend_Service_StrikeIron_Base::getSubscriptionInfo()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.
Name | Type | Description |
---|---|---|
$now | boolean | Force a call to getRemainingHits instead of cache? |
$queryMethod | string | Method that will cause SubscriptionInfo header to be sent |
Type | Description |
---|---|
\Zend_Service_StrikeIron_Decorator | Decorated subscription info |
Exception | Description |
---|---|
\Zend_Service_StrikeIron_Exception |


getWsdl() : string
Get the WSDL URL for this service.
Inherited from: \Zend_Service_StrikeIron_Base::getWsdl()Type | Description |
---|---|
string |