change the docs for postList filter/extra
authorAlan <alan@roojs.com>
Wed, 23 Mar 2022 05:05:46 +0000 (13:05 +0800)
committerAlan <alan@roojs.com>
Wed, 23 Mar 2022 05:05:46 +0000 (13:05 +0800)
Pman/Roo.php

index 8aa0a70..a86d98a 100644 (file)
@@ -141,9 +141,9 @@ class Pman_Roo extends Pman
      *                     -- apply any query filters on data. and hide stuff not to be seen.
      *                     -- can exit by calling $roo->jerr()
      *   postListExtra($_REQUEST, $roo, $array_data) : array(extra_name => data)
      *                     -- apply any query filters on data. and hide stuff not to be seen.
      *                     -- can exit by calling $roo->jerr()
      *   postListExtra($_REQUEST, $roo, $array_data) : array(extra_name => data)
-     *                     - add extra column data on the results (like new messages etc.)
+     *                     - add extra column to the jdata return key/value info.
      *   postListFilter($data, $authUser, $request) return $data
      *   postListFilter($data, $authUser, $request) return $data
-     *                      - add extra data to an object
+     *                      - modify the returned array of data (either add stuff to the data, or remove lines etc)
      * 
      *   
      *   toRooSingleArray($authUser, $request) : array
      * 
      *   
      *   toRooSingleArray($authUser, $request) : array