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     function getAuth() 
15     {
16         $ff = HTML_FlexyFramework::get();
17         if (!empty($ff->cli)) {
18             $this->cli = true;
19             return true;
20         }
21         
22         die("NOT ALLOWED");
23     }
24     
25     function get()
26     {
27         print_r('update currency exchange rate');
28     }
29     
30 }