You are here

function ExcelRange::getCurrentRangeRowOffset in Feeds Excel 6

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

Retrieve the row offset of the current Range

File

includes/ExcelRange.inc, line 306

Class

ExcelRange

Code

function getCurrentRangeRowOffset() {
  if ($this->currentRange['rows']) {
    return $this->currentRange['rows'][0] > 0 ? $this->currentRange['rows'][0] - 1 : 0;
  }
  return O;
}