예제 #1
0
 /**
  * Flush the calculation cache for any existing instance of this class
  * 		but only if a PHPExcel_Calculation instance exists
  *
  * @access	public
  * @return null
  */
 public static function flushInstance()
 {
     if (isset(self::$_instance) && self::$_instance !== NULL) {
         self::$_instance->clearCalculationCache();
     }
 }
예제 #2
0
 /**
  *	Flush the calculation cache for any existing instance of this class
  *		but only if a PHPExcel_Calculation instance exists
  *
  *	@access	public
  *	@return null
  */
 public static function flushInstance()
 {
     if (isset(self::$_instance) && !is_null(self::$_instance)) {
         self::$_instance->clearCalculationCache();
     }
 }