DataObjects/I18n.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:16:06 +0000 (11:16 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 15 Sep 2011 03:16:06 +0000 (11:16 +0800)
DataObjects/I18n.php

index 27b4f8e..40a5355 100644 (file)
@@ -19,4 +19,13 @@ class Pman_Core_DataObjects_I18n extends DB_DataObject
     
     /* the code above is auto generated do not remove the tag below */
     ###END_AUTOCODE
+    
+    function applyFilters($q, $au)
+    {
+        
+        //DB_DataObject::debugLevel(1);
+        if (!empty($q['query']['empty_etype'])) {
+            $this->whereAdd("etype = ''");
+        }
+    }
 }