You are here

function ExcelRange::setRange in Feeds Excel 6

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

Set a specific range.

3 calls to ExcelRange::setRange()
ExcelRange::getCurrentRange in includes/ExcelRange.inc
Get the current Range description.
ExcelRange::getNextRange in includes/ExcelRange.inc
Set pointer to the next range.
ExcelRange::getPreviousRange in includes/ExcelRange.inc
Set pointer to the previous range.

File

includes/ExcelRange.inc, line 60

Class

ExcelRange

Code

function setRange($id) {
  $this->currentRangeID = $id;
  if (isset($this->ranges[$id])) {
    $this->currentRange = $this->ranges[$id];
    return TRUE;
  }
  else {
    $this->currentRange = NULL;
    return FALSE;
  }
}