public function loadColumn($offset = 0)
	{
		// Initialise variables
		$column = [];

		// Execute the query
		if (!$this->execute())
		{
			return null;
		}

		// Get all of the rows from the result set as arrays
		while ($row = $this->fetchArray())
		{
			$column[] = $row[$offset];
		}

		// Free up system resources and return
		$this->freeResult();

		return $column;
	}
public function loadColumn($offset = 0)
	{
		// Initialise variables
		$column = [];

		// Execute the query
		if (!$this->execute())
		{
			return null;
		}

		// Get all of the rows from the result set as arrays
		while ($row = $this->fetchArray())
		{
			$column[] = $row[$offset];
		}

		// Free up system resources and return
		$this->freeResult();

		return $column;
	}
public function loadColumn ( $ offset = 0 ) { // Initialise variables $ column = [ ] ; // Execute the query if ( ! $ this -> execute ( ) ) { return null ; } // Get all of the rows from the result set as arrays while ( $ row = $ this -> fetchArray ( ) ) { $ column [ ] = $ row [ $ offset ] ; } // Free up system resources and return $ this -> freeResult ( ) ; return $ column ; }
Gets an array of values from the offset field in each row of the result set from the database query

@param   int  $offset  The row offset to use to build the result array
@return  array|null
@since   2.0.0
Gets an array of values from the offset field in each row of the result set from the database query