projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa05b0
)
DataObjects/I18n.php
author
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 09:07:01 +0000
(17:07 +0800)
committer
Chris
<chris@roojs.com>
Thu, 3 Jan 2013 09:07:01 +0000
(17:07 +0800)
DataObjects/I18n.php
patch
|
blob
|
history
diff --git
a/DataObjects/I18n.php
b/DataObjects/I18n.php
index
3b72987
..
3799f80
100644
(file)
--- a/
DataObjects/I18n.php
+++ b/
DataObjects/I18n.php
@@
-178,7
+178,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
require_once 'I18Nv2/Language.php';
$c = new I18Nv2_Language('en');
$ret = array_keys($c->codes); // we need to make sure these are lowercase!!!
-
//
print_r($ret);
+ print_r($ret);
// foreach($ret as $k){
//
// }
@@
-203,7
+203,7
@@
class Pman_Core_DataObjects_I18n extends DB_DataObject
foreach ($ret as $k=>$v) {
$ret[$k] = ($t=='l') ? $ret[$k] : strtoupper($v);
}
-
+ if($t=='l')
print_r($ret);
return $ret;
}