UpdateCurrencyRate.php
[Pman.Core] / UpdateCurrencyRate.php
1 <?php
2
3 require_once 'Pman.php';
4
5 class Pman_Core_UpdateCurrencyRate extends Pman
6 {
7     
8     static $cli_desc = "Update Currency Exchange Rate";
9     
10     static $cli_opts = array();
11     
12     var $cli = false; 
13     
14     var $actionUrl = 'http://www.oanda.com/currency/historical-rates-classic';
15     
16     function getAuth() 
17     {
18         $ff = HTML_FlexyFramework::get();
19         if (!empty($ff->cli)) {
20             $this->cli = true;
21             return true;
22         }
23         
24         die("NOT ALLOWED");
25     }
26     
27     function get()
28     {
29         echo"'update currency exchange rate \n";
30         
31     }
32     
33 }