class chunkReadFilter in Feeds XLS 7
Chunk reader for reading data from an Excel file.
Hierarchy
- class \chunkReadFilter implements PHPExcel_Reader_IReadFilter
Expanded class hierarchy of chunkReadFilter
File
- ./
FeedsExcelParser.inc, line 7
View source
class chunkReadFilter implements PHPExcel_Reader_IReadFilter {
// Start row
private $start_row = 0;
// End row
private $end_row = 0;
// Set the rows to parse.
public function setRows($start, $size) {
if ($start > 0) {
$start++;
}
$this->start_row = $start;
$this->end_row = $start + $size;
}
// Implements function. Define whether or not we should read the contents of
// the cell.
public function readCell($column, $row, $worksheetName = '') {
if ($row > $this->start_row && $row <= $this->end_row) {
return TRUE;
}
return FALSE;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
chunkReadFilter:: |
private | property | ||
chunkReadFilter:: |
private | property | ||
chunkReadFilter:: |
public | function |
* Should this cell be read?
*
* Overrides PHPExcel_Reader_IReadFilter:: |
|
chunkReadFilter:: |
public | function |