'leaf' => false
);
}
+ if(!empty($ff['DataObjects_Core_templatestr']['tables'])){
+ foreach($ff['DataObjects_Core_templatestr']['tables'] as $table=>$v){
+ $ret[] = array(
+ 'text'=> $table,
+ 'on_table' => $table,
+ 'id' => 'table:'. $lang .':'. $table,
+ 'leaf' => true
+ );
+ }
+ }
-
+
$roo->jdata($ret);
break;
$ret= array();
//add the table type lists
-
+ /*
$ff = HTML_FlexyFramework::get()->Pman_Core;
- if(!empty($ff['DataObjects_Core_templatestr']['tables'])){
- foreach($ff['DataObjects_Core_templatestr']['tables'] as $table=>$v){
- $ret[] = array(
- 'text'=> $table,
- 'on_table' => $table,
- 'id' => 0,
- 'leaf' => true
- );
- }
- }
// $x->orderBy('template ASC');
// $x->whereAdd("lang != ''");
-
+ */
//below are old code
$xx = DB_Dataobject::Factory('core_template');
$xx->whereAddIn('id', $ids, 'int');