public function PHPExcel_Worksheet_RowCellIterator::resetEnd in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/RowCellIterator.php \PHPExcel_Worksheet_RowCellIterator::resetEnd()
* (Re)Set the end column * *
Parameters
string $endColumn The column address at which to stop iterating:
Return value
PHPExcel_Worksheet_RowCellIterator
Throws
1 call to PHPExcel_Worksheet_RowCellIterator::resetEnd()
- PHPExcel_Worksheet_RowCellIterator::__construct in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ RowCellIterator.php - * Create a new column iterator * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet/ RowCellIterator.php, line 107
Class
- PHPExcel_Worksheet_RowCellIterator
- PHPExcel_Worksheet_RowCellIterator
Code
public function resetEnd($endColumn = null) {
$endColumn = $endColumn ? $endColumn : $this->_subject
->getHighestColumn();
$this->_endColumn = PHPExcel_Cell::columnIndexFromString($endColumn) - 1;
$this
->adjustForExistingOnlyRange();
return $this;
}