Service/StrikeIron/ZipCodeInfo.php

Show: inherited
Table of Contents

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

Package: Zend\Service\StrikeIron

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

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

Configuration options

Default valuearray('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

Propertyprotected$_outputHeaders = array()
inherited

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

Inherited from: \Zend_Service_StrikeIron_Base::$$_outputHeaders
Default valuearray()Details
Type
n/a
Inherited_from
\Zend_Service_StrikeIron_Base::$$_outputHeaders  
$_outputHeaders

array

Methods

methodpublic__call(string $method, array $params) : mixed
inherited

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

Inherited from: \Zend_Service_StrikeIron_Base::__call()
Parameters
Name Type Description
$method string

Method name

$params array

Parameters for method

Returns
Type Description
mixed Result
Throws
Exception Description
\Zend_Service_StrikeIron_Exception
methodpublic__construct(array $options = array()) : void
inherited

Class constructor

Inherited from: \Zend_Service_StrikeIron_Base::__construct()
Parameters
Name Type Description
$options array

Key/value pair options

Throws
Exception Description
\Zend_Service_StrikeIron_Exception
methodprotected_initSoapClient() : void
inherited

Initialize the SOAPClient instance

Inherited from: \Zend_Service_StrikeIron_Base::_initSoapClient()
methodprotected_initSoapHeaders() : void
inherited

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

Inherited from: \Zend_Service_StrikeIron_Base::_initSoapHeaders()
Throws
Exception Description
\Zend_Service_StrikeIron_Exception
methodprotected_transformCall(string $method,  $params) : array
inherited

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.

Parameters
Name Type Description
$method string

Method name called from PHP

$params
Returns
Type Description
array [$method, $params] for SOAPClient->__soapCall()
Details
See
\global\__call()  
methodprotected_transformResult(object $result, string $method, array $params) : mixed
inherited

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.

Parameters
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()

Returns
Type Description
mixed Transformed result
Details
See
\global\__call()  
methodpublicgetLastOutputHeaders() : array
inherited

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

Inherited from: \Zend_Service_StrikeIron_Base::getLastOutputHeaders()
Returns
Type Description
array
methodpublicgetSoapClient() : void
inherited

Get the SOAP Client instance for this service.

Inherited from: \Zend_Service_StrikeIron_Base::getSoapClient()
methodpublicgetSubscriptionInfo(boolean $now = false, string $queryMethod = 'GetRemainingHits') : \Zend_Service_StrikeIron_Decorator
inherited

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.

Parameters
Name Type Description
$now boolean

Force a call to getRemainingHits instead of cache?

$queryMethod string

Method that will cause SubscriptionInfo header to be sent

Returns
Type Description
\Zend_Service_StrikeIron_Decorator Decorated subscription info
Throws
Exception Description
\Zend_Service_StrikeIron_Exception
methodpublicgetWsdl() : string
inherited

Get the WSDL URL for this service.

Inherited from: \Zend_Service_StrikeIron_Base::getWsdl()
Returns
Type Description
string
Documentation was generated by phpDocumentor 2.0.0a8.