public function PHPExcel_Worksheet_RowCellIterator::resetStart 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::resetStart()
* (Re)Set the start column and the current column pointer * *
Parameters
integer $startColumn The column address at which to start iterating:
Return value
PHPExcel_Worksheet_RowCellIterator
Throws
1 call to PHPExcel_Worksheet_RowCellIterator::resetStart()
- 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 91
Class
- PHPExcel_Worksheet_RowCellIterator
- PHPExcel_Worksheet_RowCellIterator
Code
public function resetStart($startColumn = 'A') {
$startColumnIndex = PHPExcel_Cell::columnIndexFromString($startColumn) - 1;
$this->_startColumn = $startColumnIndex;
$this
->adjustForExistingOnlyRange();
$this
->seek(PHPExcel_Cell::stringFromColumnIndex($this->_startColumn));
return $this;
}