english/libraries/joomla/database/databasequery.php
/**
	 * Concatenates an array of column names or values.
	 *
	 * @param   array   $values     An array of values to concatenate.
	 * @param   string  $separator  As separator to place between each value.
	 *
	 * @return  string  The concatenated values.
	 *
	 * @since   11.1
	 */
Concatenates an array of column names or values.
@param   array   $values     An array of values to concatenate.
@param   string  $separator  As separator to place between each value.

@return  string  The concatenated values.


Concatenates an array of column names or values . @param array $values An array of values to concatenate . @param string $separator As separator to place between each value . @return string The concatenated values .
function concatenate($values, $separator = null)
	{
		if ($separator) {
			return 'CONCATENATE('.implode(' || '.$this->quote($separator).' || ', $values).')';
		}
		else{
			return 'CONCATENATE('.implode(' || ', $values).')';
		}
	}
function concatenate ( $ values , $ separator = null ) { if ( $ separator ) { return 'CONCATENATE(' . implode ( ' || ' . $ this -> quote ( $ separator ) . ' || ' , $ values ) . ')' ; } else { return 'CONCATENATE(' . implode ( ' || ' , $ values ) . ')' ; } }
Concatenates an array of column names or values.
Concatenates an array of column names or values .