UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:16:23 +0000 (15:16 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 07:16:23 +0000 (15:16 +0800)
UpdateCurrencyRate.php

index 2cbc414..a12feb3 100644 (file)
@@ -27,7 +27,9 @@ class Pman_Core_UpdateCurrencyRate extends Pman
     
     function get()
     {
-        echo"'update currency exchange rate \n";
+        echo "obtain the currency lists... \n";
+        
+        $currency = array();
         
         $response = $this->curl($this->actionUrl, array(), 'GET');
         
@@ -38,6 +40,8 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         
         $elements = $xpath->query("//select[@name='exch']/option");
         
+        
+        
         foreach($elements as $el) {
             print_r($el->getAttribute('value'));
             echo "\n";