Services_ExchangeRates
[ class tree: Services_ExchangeRates ] [ index: Services_ExchangeRates ] [ all elements ]

Class: Services_ExchangeRates_Transport_Mock

Source Location: /Services_ExchangeRates-0.8.0/Services/ExchangeRates/Transport/Mock.php

Class Overview


A mock transport


Author(s):

Copyright:

  • Copyright 2003 Marshall Roch

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 24]
A mock transport


[ Top ]


Class Variables

$responses =

[line 26]


Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 33]

Services_ExchangeRates_Transport_Mock __construct( [array $responses = array()])

Constructor.
  • Access: public

Parameters:

array   $responses     A sequential list of responses to be returned.

[ Top ]

fetch   [line 45]

mixed fetch( string $url)

Fetch the URL
  • Access: public

Parameters:

string   $url     URL to fetch

[ Top ]


Documentation generated on Tue, 23 Oct 2012 22:30:05 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.