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

Class: Services_ExchangeRates_Rates_NBI

Source Location: /Services_ExchangeRates-0.8.0/Services/ExchangeRates/Rates_NBI.php

Class Overview

Services_ExchangeRates_Common
   |
   --Services_ExchangeRates_Rates
      |
      --Services_ExchangeRates_Rates_NBI

National Bank of Israel Currency Exchange Rates Driver


Methods


Inherited Variables

Inherited Methods


Class Details

[line 44]
National Bank of Israel Currency Exchange Rates Driver


[ Top ]


Method Detail

retrieve   [line 69]

array retrieve( int 0)

Downloads exchange rates in terms of the ILS (New Israeli Shequel) from the National Bank of Israel. 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)

Parameters:

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

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:51:30 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.