public function ParserCSVIterator::next in Feeds 6
Same name and namespace in other branches
- 7.2 libraries/ParserCSV.inc \ParserCSVIterator::next()
- 7 libraries/ParserCSV.inc \ParserCSVIterator::next()
1 call to ParserCSVIterator::next()
- ParserCSVIterator::rewind in libraries/
ParserCSV.inc
File
- libraries/
ParserCSV.inc, line 37
Class
- ParserCSVIterator
- Text lines from file iterator.
Code
public function next() {
if ($this->handle) {
$this->currentLine = feof($this->handle) ? NULL : fgets($this->handle);
$this->currentPos = ftell($this->handle);
return $this->currentLine;
}
}