DataObjects/Core_enum.php
[Pman.Core] / UpdateCurrencyRate.php
index 4f01963..94ed190 100644 (file)
@@ -28,7 +28,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         die("NOT ALLOWED");
     }
     
-    function get()
+    function get($args, $opts)
     {   
         $currency = array();
         
@@ -60,7 +60,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         foreach ($currency as $k => $c){
             
-            echo "\nProcessing Currency : $c        ($k / $total) \n";
+            echo "\nProcessing Currency : $c ($k / $total) \n";
             
             $params = array(
                 'lang'          => 'en',
@@ -96,8 +96,7 @@ class Pman_Core_UpdateCurrencyRate extends Pman
             }
         }
         
-        $this->jok("DONE");
-        
+        return;
     }
     
     function processCurrRate($currency, $rate, $from, $to)
@@ -154,18 +153,4 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         return $response;
     }
     
-    /*
-    lang:en
-    result:1
-    date1:10/14/14
-    date:10/20/14
-    date_fmt:us
-    exch:USD
-    exch2:
-    expr:EUR
-    expr2:
-    margin_fixed:0
-    format:HTML
-    SUBMIT:Get Table
-    */
 }
\ No newline at end of file