Attila/Orm.php
private function _prepareGroupBy()
	{
		$sQuery = '';

		if (is_array($this->_aGroupBy) && count($this->_aGroupBy) > 0) {

			$sQuery .= ' GROUP BY '.implode(',', $this->_aGroupBy).' ';
		}

		return $sQuery;
	}
private function _prepareGroupBy()
	{
		$sQuery = '';

		if (is_array($this->_aGroupBy) && count($this->_aGroupBy) > 0) {

			$sQuery .= ' GROUP BY '.implode(',', $this->_aGroupBy).' ';
		}

		return $sQuery;
	}
private function _prepareGroupBy ( ) { $ sQuery = '' ; if ( is_array ( $ this -> _aGroupBy ) && count ( $ this -> _aGroupBy ) > 0 ) { $ sQuery .= ' GROUP BY ' . implode ( ',' , $ this -> _aGroupBy ) . ' ' ; } return $ sQuery ; }
prepare the group by

@access private
@return string
prepare the group by