You are here

public function ParserCSV::setLineLimit in Feeds 7.2

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

Define the number of lines to parse in one parsing operation.

By default, all lines of a file are being parsed.

File

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

Class

ParserCSV
Functionality to parse CSV files into a two dimensional array.

Code

public function setLineLimit($lines) {
  $this->lineLimit = $lines;
}