You are here

public function ParserCSVIterator::rewind in Feeds 7.2

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

File

libraries/ParserCSV.inc, line 51
Contains CSV Parser.

Class

ParserCSVIterator
Text lines from file iterator.

Code

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