}
public function groupBy() {
- $this->_groupBy = "";
+ $this->_groupBy = array();
if (is_array($this->_params['group_bys']) &&
!empty($this->_params['group_bys'])
) {
}
public function groupBy() {
- $this->_groupBy = "";
+ $this->_groupBy = array();
$append = FALSE;
if (is_array($this->_params['group_bys']) &&
}
public function orderBy() {
- $this->_orderBy = "";
+ $this->_orderBy = array();
foreach ($this->_columns as $tableName => $table) {
if (array_key_exists('order_bys', $table)) {
foreach ($table['order_bys'] as $fieldName => $field) {