english/libraries/joomla/database/databasequery.php
/**
	 * Add a single column, or array of columns to the SELECT clause of the query.
	 *
	 * Note that you must not mix insert, update, delete and select method calls when building a query.
	 * The select method can, however, be called multiple times in the same query.
	 *
	 * @param   mixed  $columns  A string or an array of field names.
	 *
	 * @return  JDatabaseQuery  Returns this object to allow chaining.
	 *
	 * @since   11.1
	 */
Add a single column, or array of columns to the SELECT clause of the query.
Note that you must not mix insert, update, delete and select method calls when building a query.
The select method can, however, be called multiple times in the same query.

@param   mixed  $columns  A string or an array of field names.

@return  JDatabaseQuery  Returns this object to allow chaining.


Add a single column or array of columns to the SELECT clause of the query . Note that you must not mix insert update delete and select method calls when building a query . The select method can however be called multiple times in the same query . @param mixed $columns A string or an array of field names . @return JDatabaseQuery Returns this object to allow chaining .
public function select($columns)
	{
		$this->type = 'select';
		if (is_null($this->select)) {
			$this->select = new JDatabaseQueryElement('SELECT', $columns);
		}
		else {
			$this->select->append($columns);
		}
		return $this;
	}
public function select ( $ columns ) { $ this -> type = 'select' ; if ( is_null ( $ this -> select ) ) { $ this -> select = new JDatabaseQueryElement ( 'SELECT' , $ columns ) ; } else { $ this -> select -> append ( $ columns ) ; } return $ this ; }
Add a single column, or array of columns to the SELECT clause of the query.
Add a single column or array of columns to the SELECT clause of the query .