projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SimpleExcel.php
[Pman.Core]
/
Tests
/
I18n.php
diff --git
a/Tests/I18n.php
b/Tests/I18n.php
index
569f2ab
..
daa1149
100644
(file)
--- a/
Tests/I18n.php
+++ b/
Tests/I18n.php
@@
-6,20
+6,21
@@
class Pman_Core_Tests_I18n extends Pman
{
function getAuth()
{
{
function getAuth()
{
- print_R($this);exit;
- if (!$this->bootcli) {
+
+ if (!$this->boot
Loader->
cli) {
die("not cli?");
}
}
die("not cli?");
}
}
- function get()
+ 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);
{
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()
{
}
function output()
{