DataObjects/Events.php
authorChris <chris@roojs.com>
Mon, 17 Dec 2012 09:18:18 +0000 (17:18 +0800)
committerChris <chris@roojs.com>
Mon, 17 Dec 2012 09:18:18 +0000 (17:18 +0800)
DataObjects/Events.php

index b1d23a6..0de72c9 100644 (file)
@@ -75,6 +75,16 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
             $this->whereAdd("$tn.on_table = ''");
         }
         
+        // if not empty on_table
+        if(!empty($q['person_table']))
+            $jt = DB_DataObject::factory('person_ontable');
+        
+            //$jt = DB_DataObjec factory person_ontable
+            
+            // $this->_join = 'LEFT JOIN $jt->tableName() ';
+            // $this->_join
+        
+        
         
         if (isset($q['query']['person_sum'])) {
             //DB_DataObject::debugLevel(1);