english/libraries/joomla/database/database.php
/**
	 * Method to get an array of values from the <var>$offset</var> field in each row of the result set from
	 * the database query.
	 *
	 * @param   integer  $offset  The row offset to use to build the result array.
	 *
	 * @return  mixed    The return value or null if the query failed.
	 *
	 * @since   11.1
	 * @throws  DatabaseException
	 */
Method to get an array of values from the $offset field in each row of the result set from
the database query.

@param   integer  $offset  The row offset to use to build the result array.

@return  mixed    The return value or null if the query failed.


Method to get an array of values from the $offset field in each row of the result set from the database query . @param integer $offset The row offset to use to build the result array . @return mixed The return value or null if the query failed .
public function loadColumn($offset = 0)
	{
		$array = array();
		if (!($cursor = $this->query())) {
			return null;
		}
		while ($row = $this->fetchArray($cursor))
		{
			$array[] = $row[$offset];
		}
		$this->freeResult($cursor);
		return $array;
	}
public function loadColumn ( $ offset = 0 ) { $ array = array ( ) ; if ( ! ( $ cursor = $ this -> query ( ) ) ) { return null ; } while ( $ row = $ this -> fetchArray ( $ cursor ) ) { $ array [ ] = $ row [ $ offset ] ; } $ this -> freeResult ( $ cursor ) ; return $ array ; }
Method to get an array of values from the <var>$offset</var> field in each row of the result set from
 the database query.
Method to get an array of values from the <var > $offset< / var > field in each row of the result set from the database query .
// Initialise variables. // Execute the query and get the result set cursor. // Get all of the rows from the result set as arrays. // Free up system resources and return.