class FeedsExcelParserIReadFilter in Feeds Excel 7.2
Provides chunk reader for Excel files.
Hierarchy
- class \FeedsExcelParserIReadFilter implements PHPExcel_Reader_IReadFilter
Expanded class hierarchy of FeedsExcelParserIReadFilter
File
- ./
FeedsExcelParserIReadFilter.inc, line 11 - Contains FeedsExcelParserIReadFilter.
View source
class FeedsExcelParserIReadFilter implements PHPExcel_Reader_IReadFilter {
private $startRow;
private $endRow;
private $rowCounter;
public function __construct($startRow = 0, $chunkSize = 0) {
$this->startRow = $startRow;
$this->endRow = $startRow + $chunkSize;
$this->rowCounter =& drupal_static('feeds_excel_parser_row_counter');
$this->rowCounter = 0;
}
public function readCell($column, $row, $worksheetName = '') {
$this->rowCounter = $row;
return $row >= $this->startRow && $row < $this->endRow;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FeedsExcelParserIReadFilter:: |
private | property | ||
FeedsExcelParserIReadFilter:: |
private | property | ||
FeedsExcelParserIReadFilter:: |
private | property | ||
FeedsExcelParserIReadFilter:: |
public | function |
* Should this cell be read?
*
* Overrides PHPExcel_Reader_IReadFilter:: |
|
FeedsExcelParserIReadFilter:: |
public | function |