You are here

public function MathTrigTest::setUp in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/MathTrigTest.php \MathTrigTest::setUp()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Calculation/MathTrigTest.php, line 9

Class

MathTrigTest

Code

public function setUp() {
  if (!defined('PHPEXCEL_ROOT')) {
    define('PHPEXCEL_ROOT', APPLICATION_PATH . '/');
  }
  require_once PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php';
  PHPExcel_Calculation_Functions::setCompatibilityMode(PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL);
}