Pman/Roo.php
authorAlan Knowles <alan@akbkhome.com>
Thu, 11 Nov 2010 04:34:19 +0000 (12:34 +0800)
committerAlan Knowles <alan@akbkhome.com>
Thu, 11 Nov 2010 04:34:19 +0000 (12:34 +0800)
Pman/Roo.php

index 25d256c..ab8f65d 100644 (file)
@@ -680,6 +680,7 @@ class Pman_Roo extends Pman
         
         
         $this->cols = array();
+        $this->colsJoinName =array();
         foreach($xx as $k) {
             $this->cols[$k] = $do->tableName(). '.' . $k;
         }
@@ -726,6 +727,7 @@ class Pman_Roo extends Pman
             
             foreach($xx as $k) {
                 $this->cols[sprintf($ocl.'_%s', $k)] = $tab.'.'.$k;
+                $this->colsJname[sprintf($ocl.'_%s', $k)] = 'join_'.$ocl.'_'.$col.'.'.$k;
             }