+
+ function applyFilters($q,$au, $roo)
+ {
+ if (!empty($q['_list_actions'])) {
+ $this->listActions($roo,$q);
+ }
+ //die("apply filters");
+ if (!empty($q['_split_event_name'])) {
+ $this->selectAdd("
+
+ substr( event, substring_index(event, '.')) as event_left,
+ substr( event, 0, substring_index(event, '.')) as event_right
+
+ ");
+
+
+
+ }
+
+ }
+ function listActions($roo, $q) {
+
+ //print_r($q);
+ $d = DB_DataObject::Factory($q['on_table']);
+ $ret = array();
+
+ foreach(get_class_methods($d) as $m) {
+ //var_dump($m);
+ if (!preg_match('/^notify/', $m)) {
+ continue;
+ }
+ $ret[] = array(
+ 'display_name' => preg_replace('/^notify/', '' , $m),
+ 'name' => $q['on_table'] .':'. $m
+ );
+ }
+ $roo->jdata($ret);
+ }
+