Searched refs:gp2 (Results 1 – 1 of 1) sorted by relevance
526 function _trans_group($gp1, $gp2, $join) { argument528 $terms = array_unique(array_merge($gp1['terms'], $gp2['terms']));531 $common = array_intersect($gp1['terms'], $gp2['terms']);551 …'sql'=>'SELECT DISTINCT '.$fields.' FROM ('.$gp1['sql'].') AS r1 '.$join.' ('.$gp2['sql'].') AS r2…561 $gp2 = $this->_dispatch($query['rhs']);562 return $this->_trans_group($gp1, $gp2, 'LEFT OUTER JOIN');570 $gp2 = $this->_dispatch($query['rhs']);571 return $this->_trans_group($gp1, $gp2, 'INNER JOIN');655 $gp2 = $this->_dispatch($query['rhs']);658 $common = array_intersect($gp1['terms'], $gp2['terms']);[all …]