You are here

class PHPExcel_Calculation_ExceptionHandler in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/ExceptionHandler.php \PHPExcel_Calculation_ExceptionHandler

PHPExcel_Calculation_ExceptionHandler

@category PHPExcel @package PHPExcel_Calculation @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

Hierarchy

Expanded class hierarchy of PHPExcel_Calculation_ExceptionHandler

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/ExceptionHandler.php, line 35

View source
class PHPExcel_Calculation_ExceptionHandler {

  /**
   * Register errorhandler
   */
  public function __construct() {
    set_error_handler(array(
      'PHPExcel_Calculation_Exception',
      'errorHandlerCallback',
    ), E_ALL);
  }

  /**
   * Unregister errorhandler
   */
  public function __destruct() {
    restore_error_handler();
  }

}

Members