You are here

function ExcelRange::getCurrentRangeColOffset in Feeds Excel 7

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

Retrieve the column offset of the current Range.

File

includes/ExcelRange.inc, line 315

Class

ExcelRange

Code

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