You are here

function ExcelRange::getCurrentRangeColOffset in Feeds Excel 6

Same name and namespace in other branches
  1. 7 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;
}