public function ParserCSV::lastLinePos in Feeds 7
Same name and namespace in other branches
- 6 libraries/ParserCSV.inc \ParserCSV::lastLinePos()
- 7.2 libraries/ParserCSV.inc \ParserCSV::lastLinePos()
Get the byte number where the parser left off after last parse() call.
Return value
0 if all lines or no line has been parsed, the byte position of where a timeout or the line limit has been reached otherwise. This position can be used to set the start byte for the next iteration after parse() has reached the timeout set with setTimeout() or the line limit set with setLineLimit().
See also
ParserCSV::setStartByte($start);
File
- libraries/
ParserCSV.inc, line 160
Class
- ParserCSV
- Functionality to parse CSV files into a two dimensional array.
Code
public function lastLinePos() {
return $this->lastLinePos;
}