public function PHPExcel_Calculation::renameCalculationCacheForWorksheet in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php \PHPExcel_Calculation::renameCalculationCacheForWorksheet()
* Rename calculation cache for a specified worksheet * *
Parameters
string $fromWorksheetName: * @param string $toWorksheetName
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Calculation.php, line 1938
Class
- PHPExcel_Calculation
- PHPExcel_Calculation (Multiton)
Code
public function renameCalculationCacheForWorksheet($fromWorksheetName, $toWorksheetName) {
if (isset($this->_calculationCache[$fromWorksheetName])) {
$this->_calculationCache[$toWorksheetName] =& $this->_calculationCache[$fromWorksheetName];
unset($this->_calculationCache[$fromWorksheetName]);
}
}