public function PHPExcel_Worksheet::getCellCollection in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet.php \PHPExcel_Worksheet::getCellCollection()
Get collection of cells
Parameters
boolean $pSorted Also sort the cell collection?:
Return value
1 call to PHPExcel_Worksheet::getCellCollection()
- PHPExcel_Worksheet::calculateColumnWidths in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php - Calculate widths for auto-size columns
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Worksheet.php, line 484
Class
- PHPExcel_Worksheet
- PHPExcel_Worksheet
Code
public function getCellCollection($pSorted = true) {
if ($pSorted) {
// Re-order cell collection
return $this
->sortCellCollection();
}
if ($this->_cellCollection !== NULL) {
return $this->_cellCollection
->getCellList();
}
return array();
}