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

Class: Services_ExchangeRates_Rates_ECB

Source Location: /Services_ExchangeRates-0.6.0/Services/ExchangeRates/Rates_ECB.php

Class Overview


European Central Bank Exchange Rate Driver


Inherited Variables

Inherited Methods

Class Details

[line 50]
European Central Bank Exchange Rate Driver

[ Top ]

Method Detail

retrieve   [line 73]

array retrieve( int 0)

Downloads exchange rates in terms of the Euro from the European Central Bank. This information is updated daily, and is cached by default for 1 hour.

Returns a multi-dimensional array containing: 'rates' => associative array of currency codes to exchange rates 'source' => URL of feed 'date' => date feed last updated, pulled from the feed (more reliable than file mod time)

Overrides Services_ExchangeRates_Rates::retrieve() (parent method not documented)


int   0   —  Length of time to cache (in seconds)

[ Top ]

Documentation generated on Thu, 10 Dec 2015 05:51:50 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.