Login   Register  
PHP Classes

Class: CurrencyExchange

Icontem
elePHPant

  Classes of Mick Sear  >  CurrencyExchange  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CurrencyExchange Support forum
Base name: currencyexchange
Description: Convert values between currencies using a XML feed
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
 
  Screenshots Screenshots   Author   Group folder image Groups   Detailed description  
  Applications   Related links   Files Files  

Screenshots

Screengrab
File Role Description
Accessible without login Image file screengrab.gif Screen Screengrab

Author

Picture of Mick Sear
Name: Mick Sear <e-mail contact>
Published packages: 8 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://www.ecreate.co.uk/

Groups

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Conversion Unit and datatype conversion View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes

Detailed description

This class can be used to convert money amounts between two currencies using the European Central bank currencies XML feed.

It has methods to set the original and the converted currencies.

It may either return the conversion rate or the converted value of a given amount.

It can cache a previously retrieved version of the currencies feed to minimize the overhead of fetching the feed repeatedly.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Related links

Link Description
European Central Bank European Central Bank website - source of XML feed used in this class.

Files

File Role Description
Plain text file CurrencyConverter.php Class Main class file
Plain text file example.php Example Simple example to get rate
Plain text file example2.php Example More complex example to convert an amount to another currency
Download all files: currencyexchange.tar.gz currencyexchange.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.