Tests/I18n.php
[Pman.Core] / Tests / I18n.php
1 <?php
2
3 require_once 'Pman.php';
4
5 class Pman_Core_Tests_I18n extends Pman
6 {
7     function getAuth()
8     {
9         print_R($this);exit;
10         if (!$this->bootcli) {
11             die("not cli?");
12         }
13         
14     }
15     function get()
16     {
17         require_once 'Pman/Core/I18n.php';
18          $i = new Pman_Core_I18n();
19          $ret = $i->convertCurrency(100,"HKD","USD");
20         var_dump($ret); 
21         
22         
23     }
24     function output()
25     {
26         die("done");
27     }
28     
29     
30 }