Pman/Roo.php
authorAlan Knowles <alan@akbkhome.com>
Tue, 31 Aug 2010 10:41:55 +0000 (18:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 31 Aug 2010 10:41:55 +0000 (18:41 +0800)
Pman/Roo.php

index 738954c..a037a5b 100644 (file)
@@ -715,7 +715,13 @@ class Pman_Roo extends Pman
             $add['name'] = $c;
             $meta[] = $add;
         }
-         return $meta;
+        return array(
+            'totalProperty' =>  'total',
+            'successProperty' => 'success',
+            'root' => 'data',
+            'id' => 'id',
+            'fields' => $meta
+        );
          
         
     }