You are here

public function ParserCSVIterator::rewind in Feeds 6

Same name and namespace in other branches
  1. 7.2 libraries/ParserCSV.inc \ParserCSVIterator::rewind()
  2. 7 libraries/ParserCSV.inc \ParserCSVIterator::rewind()

File

libraries/ParserCSV.inc, line 30

Class

ParserCSVIterator
Text lines from file iterator.

Code

public function rewind($pos = 0) {
  if ($this->handle) {
    fseek($this->handle, $pos);
    $this
      ->next();
  }
}