You are here

function ExcelRange::isColInRange in Feeds Excel 7

Same name and namespace in other branches
  1. 6 includes/ExcelRange.inc \ExcelRange::isColInRange()

Retrive if any cell is in the column of the given range.

4 calls to ExcelRange::isColInRange()
ExcelRange::isCellInAnyRange in includes/ExcelRange.inc
Retrieve if the given cell is in any range.
ExcelRange::isCellInRange in includes/ExcelRange.inc
Retrieve if the coordinates fit into the given range.
ExcelRange::isColInAnyRange in includes/ExcelRange.inc
Retrieve if a cell of the columns is present in any range.
ExcelRange::isColInCurrentRange in includes/ExcelRange.inc
Retrieve if there are cells of the column in the current range.

File

includes/ExcelRange.inc, line 271

Class

ExcelRange

Code

function isColInRange($range, $col) {
  return !$range['cols'] || $range['cols'][0] <= $col && $col <= $range['cols'][1];
}