Versions
Version 2.0.5 Documentation Notes
Use structured row-count fields to distinguish logical positions, source records, explicit and implicit empty rows, headers, skipped rows, and returned rows.
Core 2.0.5+Structured counts
Release context
v2.0.5 in the MNB PHPExcel v2 release line.
Structured row-count summaries make returned, empty, skipped, and logical row states easier to interpret.
- Status
- Maintenance
- Package
mnb/mnb-phpexcel-core- Introduced
- v2.0.5
Structured counts
Read row-count results as named fields instead of one ambiguous total.
v2.0.5 makes the structured summary more explicit for logical positions, empty rows, skipped empty rows, and rows returned after the active options are applied.
Structured summary
$data = $session->toStructuredSheetArray([
'header_row' => 1,
'skip_empty_rows' => true,
]);
$counts = $data['summary']['row_counts'];
echo $counts['total'];
echo $counts['empty'];
echo $counts['skipped_empty'];
echo $counts['returned'];total- Total logical row positions represented by the summary.
empty- Rows identified as empty by the structured read.
skipped_empty- Empty rows excluded when empty-row skipping is enabled.
returned- Rows actually returned after the configured read rules.
Use the full guide
Interpret counts together with header and empty-row options.
The reading guide covers the complete row-count model and the options that change the summary.
Was this guide useful?Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue