public function ParserCSVIterator::next in Feeds 7.2
Same name and namespace in other branches
- 6 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 61 - Contains CSV Parser.
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;
}
}