You are here

function ExcelRange::isRowInRange in Feeds Excel 6

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

Retrieve if any cell of the row is in the given range.

4 calls to ExcelRange::isRowInRange()
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::isRowInAnyRange in includes/ExcelRange.inc
Retrieve if a cell of the row is present in any range.
ExcelRange::isRowInCurrentRange in includes/ExcelRange.inc
Retrieve if there are cells of the row in the current range.

File

includes/ExcelRange.inc, line 264

Class

ExcelRange

Code

function isRowInRange($range, $row) {
  return !$range['rows'] || $range['rows'][0] <= $row && $row <= $range['rows'][1];
}