You are here

public function PHPExcel_Calculation::isImplemented in Loft Data Grids 7.2

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

* Is a specific function implemented? * *

Parameters

string $pFunction Function Name: * @return boolean

File

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

Class

PHPExcel_Calculation
PHPExcel_Calculation (Multiton)

Code

public function isImplemented($pFunction = '') {
  $pFunction = strtoupper($pFunction);
  if (isset(self::$_PHPExcelFunctions[$pFunction])) {
    return self::$_PHPExcelFunctions[$pFunction]['functionCall'] != 'PHPExcel_Calculation_Functions::DUMMY';
  }
  else {
    return FALSE;
  }
}