static $cli_desc = "Update Currency Exchange Rate";
- static $cli_opts = array(
- 'procedures-only' => array(
- 'desc' => 'Only run procedures and return',
- 'short' => 'p',
- 'default' => '',
- 'min' => 1,
- 'max' => 1,
- ),
- );
+ static $cli_opts = array();
var $cli = false;
foreach ($currency as $k => $c){
- echo "\nProcessing Currency : $c ($k / $total) \n";
+ echo "\nProcessing Currency : $c ($k / $total) \n";
$params = array(
'lang' => 'en',
if(array_key_exists($c, $this->mapping)){
$this->processCurrRate($this->mapping[$c], $rate, $fromDate, $toDate);
}
-
- if($k == 5){
- break;
- }
}
-//
-// if(empty($opts['procedures-only'])){
-// $this->jok("DONE");
-// }
-//
+
return;
}