public function PHPExcel_Worksheet::getRowDimension in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::getRowDimension()
Get row dimension at a specific row
Parameters
int $pRow Numeric index of the row:
Return value
PHPExcel_Worksheet_RowDimension
1 call to PHPExcel_Worksheet::getRowDimension()
- PHPExcel_Worksheet::_createNewCell in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php - Create a new cell at the specified coordinate
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php, line 1315
Class
- PHPExcel_Worksheet
- PHPExcel_Worksheet
Code
public function getRowDimension($pRow = 1, $create = TRUE) {
// Found
$found = null;
// Get row dimension
if (!isset($this->_rowDimensions[$pRow])) {
if (!$create) {
return NULL;
}
$this->_rowDimensions[$pRow] = new PHPExcel_Worksheet_RowDimension($pRow);
$this->_cachedHighestRow = max($this->_cachedHighestRow, $pRow);
}
return $this->_rowDimensions[$pRow];
}