english/libraries/joomla/database/databasequery.php
/**
	 * Add a grouping column to the GROUP clause of the query.
	 *
	 * @param   mixed  $columns  A string or array of ordering columns.
	 *
	 * @return  JDatabaseQuery  Returns this object to allow chaining.
	 *
	 * @since   11.1
	 */
Add a grouping column to the GROUP clause of the query.
@param   mixed  $columns  A string or array of ordering columns.

@return  JDatabaseQuery  Returns this object to allow chaining.


Add a grouping column to the GROUP clause of the query . @param mixed $columns A string or array of ordering columns . @return JDatabaseQuery Returns this object to allow chaining .
public function group($columns)
	{
		if (is_null($this->group)) {
			$this->group = new JDatabaseQueryElement('GROUP BY', $columns);
		}
		else {
			$this->group->append($columns);
		}
		return $this;
	}
public function group ( $ columns ) { if ( is_null ( $ this -> group ) ) { $ this -> group = new JDatabaseQueryElement ( 'GROUP BY' , $ columns ) ; } else { $ this -> group -> append ( $ columns ) ; } return $ this ; }
Add a grouping column to the GROUP clause of the query.
Add a grouping column to the GROUP clause of the query .