DataObjects/I18n.php
[Pman.Core] / DataObjects / I18n.php
index b13c246..b41e7fc 100644 (file)
@@ -52,6 +52,7 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
         'm' => array(
             'USD', 'HKD', 'GBP', 'CNY', 'SGD', 'JPY'
         ),
+        'p' => '*',
         'add_l'=> array(), // key -> value additional languages... 
         'add_c'=> array(), // additional countries...(eg. '-R' => 'Regional' )
         'add_m'=> array(), // additional currencies...
@@ -282,14 +283,14 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
     function buildDB($ltype= false, $inlang= false )
     {
         $cfg = $this->cfg();
-        
+        print_R($cfg);exit;
         if ($ltype === false) {
             // trigger all builds.
             //DB_DataObject::debugLevel(1);
-            $this->buildDB('c');
-            $this->buildDB('l');
-            $this->buildDB('m');
-            $this->buildDB('t');
+//            $this->buildDB('c');
+//            $this->buildDB('l');
+//            $this->buildDB('m');
+            $this->buildDB('p');
             return;
         }