You are here

public function PHPExcel_Calculation::setCalculationCacheEnabled in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php \PHPExcel_Calculation::setCalculationCacheEnabled()

* Enable/disable calculation cache * * @access public *

Parameters

boolean $pValue:

2 calls to PHPExcel_Calculation::setCalculationCacheEnabled()
PHPExcel_Calculation::disableCalculationCache in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php
* Disable calculation cache
PHPExcel_Calculation::enableCalculationCache in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php
* Enable calculation cache

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php, line 1892

Class

PHPExcel_Calculation
PHPExcel_Calculation (Multiton)

Code

public function setCalculationCacheEnabled($pValue = TRUE) {
  $this->_calculationCacheEnabled = $pValue;
  $this
    ->clearCalculationCache();
}