SimpleExcel.php
[Pman.Core] / Tests / I18n.php
index e69de29..daa1149 100644 (file)
@@ -0,0 +1,31 @@
+<?php
+
+require_once 'Pman.php';
+
+class Pman_Core_Tests_I18n extends Pman
+{
+    function getAuth()
+    {
+        
+        if (!$this->bootLoader->cli) {
+            die("not cli?");
+        }
+        
+    }
+    function get($v, $opts=array())
+    {
+        require_once 'Pman/Core/I18n.php';
+         $i = new Pman_Core_I18n();
+         $ret = $i->convertCurrency(100,"HKD","USD");
+        var_dump($ret); 
+        
+         $ret = $i->convertCurrency(100,"INR","USD");
+        var_dump($ret); 
+    }
+    function output()
+    {
+        die("done");
+    }
+    
+    
+}
\ No newline at end of file