ILIAS
eassessment Revision 61809
|
Public Member Functions | |
__destruct () | |
__clone () | |
__clone implementation. | |
getCalculationCacheEnabled () | |
Is calculation caching enabled? | |
setCalculationCacheEnabled ($pValue=true) | |
Enable/disable calculation cache. | |
enableCalculationCache () | |
Enable calculation cache. | |
disableCalculationCache () | |
Disable calculation cache. | |
clearCalculationCache () | |
Clear calculation cache. | |
getCalculationCacheExpirationTime () | |
Get calculation cache expiration time. | |
setCalculationCacheExpirationTime ($pValue=15) | |
Set calculation cache expiration time. | |
getLocale () | |
Get the currently defined locale code. | |
setLocale ($locale='en_us') | |
Set the locale code. | |
_translateFormulaToLocale ($formula) | |
_translateFormulaToEnglish ($formula) | |
calculate (PHPExcel_Cell $pCell=null) | |
Calculate cell value (using formula from a cell ID) Retained for backward compatibility. | |
calculateCellValue (PHPExcel_Cell $pCell=null, $resetLog=true) | |
Calculate the value of a cell formula. | |
parseFormula ($formula) | |
Validate and parse a formula string. | |
calculateFormula ($formula, $cellID=null, PHPExcel_Cell $pCell=null) | |
Calculate the value of a formula. | |
_calculateFormulaValue ($formula, $cellID=null, PHPExcel_Cell $pCell=null) | |
Parse a cell formula and calculate its value. | |
extractCellRange (&$pRange= 'A1', PHPExcel_Worksheet $pSheet=null, $resetLog=true) | |
Extract range values. | |
extractNamedRange (&$pRange= 'A1', PHPExcel_Worksheet $pSheet=null, $resetLog=true) | |
Extract range values. | |
isImplemented ($pFunction= '') | |
Is a specific function implemented? | |
listFunctions () | |
Get a list of all implemented functions as an array of function objects. | |
listAllFunctionNames () | |
Get a list of all Excel function names. | |
listFunctionNames () | |
Get a list of implemented Excel function names. |
Static Public Member Functions | |
static | getInstance () |
Get an instance of this class. | |
static | flushInstance () |
Flush the calculation cache for any existing instance of this class but only if a PHPExcel_Calculation instance exists. | |
static | getTRUE () |
Return the locale-specific translation of TRUE. | |
static | getFALSE () |
Return the locale-specific translation of FALSE. | |
static | setArrayReturnType ($returnType) |
Set the Array Return Type (Array or Value of first element in the array) | |
static | getArrayReturnType () |
Return the Array Return Type (Array or Value of first element in the array) | |
static | _translateSeparator ($fromSeparator, $toSeparator, $formula, &$inBraces) |
static | _localeFunc ($function) |
static | _wrapResult ($value) |
Wrap string values in quotes. | |
static | _unwrapResult ($value) |
Remove quotes used as a wrapper to identify string values. | |
static | _getMatrixDimensions (&$matrix) |
Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0. |
Data Fields | |
const | CALCULATION_REGEXP_NUMBER = '[-+]?\d*\.?\d+(e[-+]?\d+)?' |
Constants. | |
const | CALCULATION_REGEXP_STRING = '"(?:[^"]|"")*"' |
const | CALCULATION_REGEXP_OPENBRACE = '\(' |
const | CALCULATION_REGEXP_FUNCTION = '@?([A-Z][A-Z0-9\.]*)[\s]*\(' |
const | CALCULATION_REGEXP_CELLREF = CALCULATION_REGEXP_CELLREF |
const | CALCULATION_REGEXP_NAMEDRANGE = CALCULATION_REGEXP_NAMEDRANGE |
const | CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?' |
const | RETURN_ARRAY_AS_ERROR = 'error' |
constants | |
const | RETURN_ARRAY_AS_VALUE = 'value' |
const | RETURN_ARRAY_AS_ARRAY = 'array' |
$suppressFormulaErrors = false | |
$formulaError = null | |
$writeDebugLog = false | |
$echoDebugLog = false | |
$debugLog = array() | |
$cyclicFormulaCount = 0 |
Static Public Attributes | |
static | $_localeBoolean |
Protected Member Functions | |
_raiseFormulaError ($errorMessage) |
Private Member Functions | |
__construct () | |
_showValue ($value) | |
Format details of an operand for display in the log (based on operand type) | |
_showTypeDetails ($value) | |
Format type and details of an operand for display in the log (based on operand type) | |
_parseFormula ($formula, PHPExcel_Cell $pCell=null) | |
_processTokenStack ($tokens, $cellID=null, PHPExcel_Cell $pCell=null) | |
_validateBinaryOperand ($cellID, &$operand, &$stack) | |
_executeBinaryComparisonOperation ($cellID, $operand1, $operand2, $operation, &$stack, $recursingArrays=false) | |
_executeNumericBinaryOperation ($cellID, $operand1, $operand2, $operation, $matrixFunction, &$stack) | |
_writeDebug ($message) |
Static Private Member Functions | |
static | _translateFormula ($from, $to, $formula, $fromSeparator, $toSeparator) |
static | _checkMatrixOperands (&$operand1, &$operand2, $resize=1) |
Ensure that paired matrix operands are both matrices and of the same size. | |
static | _resizeMatricesShrink (&$matrix1, &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns) |
Ensure that paired matrix operands are both matrices of the same size. | |
static | _resizeMatricesExtend (&$matrix1, &$matrix2, $matrix1Rows, $matrix1Columns, $matrix2Rows, $matrix2Columns) |
Ensure that paired matrix operands are both matrices of the same size. | |
static | _convertMatrixReferences ($formula) |
static | _mkMatrix () |
Private Attributes | |
$debugLogStack = array() | |
$_cyclicFormulaCount = 0 | |
$_cyclicFormulaCell = '' | |
$_savedPrecision = 12 |
Static Private Attributes | |
static | $returnArrayAsType = self::RETURN_ARRAY_AS_VALUE |
static | $_instance |
static | $_calculationCache = array () |
static | $_calculationCacheEnabled = true |
static | $_calculationCacheExpirationTime = 15 |
static | $_operators |
static | $_binaryOperators |
static | $_localeLanguage = 'en_us' |
static | $_validLocaleLanguages |
static | $_localeArgumentSeparator = ',' |
static | $_localeFunctions = array() |
static | $_ExcelConstants |
static | $_PHPExcelFunctions |
static | $_controlFunctions |
static | $functionReplaceFromExcel = null |
static | $functionReplaceToLocale = null |
static | $functionReplaceFromLocale = null |
static | $functionReplaceToExcel = null |
Definition at line 62 of file Calculation.php.
|
private |
Definition at line 1683 of file Calculation.php.
References $filename.
PHPExcel_Calculation::__destruct | ( | ) |
Definition at line 1700 of file Calculation.php.
|
final |
__clone implementation.
Cloning should not be allowed in a Singleton!
public
Exception |
Definition at line 1739 of file Calculation.php.
PHPExcel_Calculation::_calculateFormulaValue | ( | $formula, | |
$cellID = null , |
|||
PHPExcel_Cell | $pCell = null |
||
) |
Parse a cell formula and calculate its value.
string | $formula | The formula to parse and calculate |
string | $cellID | The ID (e.g. A3) of the cell that we are calculating |
PHPExcel_Cell | $pCell | Cell to calculate |
Exception |
Definition at line 2257 of file Calculation.php.
References $_cyclicFormulaCount, _parseFormula(), _processTokenStack(), _raiseFormulaError(), _wrapResult(), _writeDebug(), and PHPExcel_Calculation_Functions\flattenArray().
Referenced by calculateCellValue(), and calculateFormula().
|
staticprivate |
Ensure that paired matrix operands are both matrices and of the same size.
mixed | &$operand1 | First matrix operand |
mixed | &$operand2 | Second matrix operand |
integer | $resize | Flag indicating whether the matrices should be resized to match and (if so), whether the smaller dimension should grow or the larger should shrink. 0 = no resize 1 = shrink to fit 2 = extend to fit |
Definition at line 2353 of file Calculation.php.
References _getMatrixDimensions(), _resizeMatricesExtend(), and _resizeMatricesShrink().
Referenced by _executeBinaryComparisonOperation(), _executeNumericBinaryOperation(), and _processTokenStack().
|
staticprivate |
Definition at line 2557 of file Calculation.php.
References _raiseFormulaError().
|
private |
Definition at line 3397 of file Calculation.php.
References $x, _checkMatrixOperands(), _showTypeDetails(), _showValue(), _unwrapResult(), and _writeDebug().
Referenced by _processTokenStack().
|
private |
Definition at line 3471 of file Calculation.php.
References _checkMatrixOperands(), _showTypeDetails(), _validateBinaryOperand(), _writeDebug(), PHPExcel_Calculation_Functions\COMPATIBILITY_OPENOFFICE, PHPExcel_Calculation_Functions\getCompatibilityMode(), and PHPExcel_Calculation_Functions\VALUE().
Referenced by _processTokenStack().
|
static |
Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0.
mixed | &$matrix | matrix operand |
Definition at line 2389 of file Calculation.php.
Referenced by _checkMatrixOperands(), PHPExcel_Calculation_LookupRef\COLUMNS(), and PHPExcel_Calculation_LookupRef\ROWS().
|
static |
Definition at line 2054 of file Calculation.php.
Referenced by PHPExcel_Token_Stack\push().
|
staticprivate |
Definition at line 2608 of file Calculation.php.
|
private |
Definition at line 2614 of file Calculation.php.
References $d, _raiseFormulaError(), and _wrapResult().
Referenced by _calculateFormulaValue(), and parseFormula().
|
private |
Definition at line 2984 of file Calculation.php.
References $arg, $data, $oRow, $row, _checkMatrixOperands(), _executeBinaryComparisonOperation(), _executeNumericBinaryOperation(), _raiseFormulaError(), _showTypeDetails(), _showValue(), _unwrapResult(), _writeDebug(), PHPExcel_Cell\columnIndexFromString(), PHPExcel_Cell\coordinateFromString(), extractCellRange(), extractNamedRange(), PHPExcel_Calculation_Functions\flattenArray(), PHPExcel_Calculation_Functions\flattenSingleValue(), PHPExcel_Calculation_Functions\REF(), and PHPExcel_Cell\stringFromColumnIndex().
Referenced by _calculateFormulaValue().
|
protected |
Definition at line 3563 of file Calculation.php.
Referenced by _calculateFormulaValue(), _convertMatrixReferences(), _parseFormula(), and _processTokenStack().
|
staticprivate |
Ensure that paired matrix operands are both matrices of the same size.
mixed | &$matrix1 | First matrix operand |
mixed | &$matrix2 | Second matrix operand |
Definition at line 2450 of file Calculation.php.
References $x.
Referenced by _checkMatrixOperands().
|
staticprivate |
Ensure that paired matrix operands are both matrices of the same size.
mixed | &$matrix1 | First matrix operand |
mixed | &$matrix2 | Second matrix operand |
Definition at line 2411 of file Calculation.php.
Referenced by _checkMatrixOperands().
|
private |
Format type and details of an operand for display in the log (based on operand type)
mixed | $value | First matrix operand |
Definition at line 2526 of file Calculation.php.
References _showValue(), and PHPExcel_Calculation_Functions\flattenArray().
Referenced by _executeBinaryComparisonOperation(), _executeNumericBinaryOperation(), _processTokenStack(), and _validateBinaryOperand().
|
private |
Format details of an operand for display in the log (based on operand type)
mixed | $value | First matrix operand |
Definition at line 2493 of file Calculation.php.
References $row, and PHPExcel_Calculation_Functions\flattenArray().
Referenced by _executeBinaryComparisonOperation(), _processTokenStack(), and _showTypeDetails().
|
staticprivate |
Definition at line 1967 of file Calculation.php.
References _translateSeparator().
Referenced by _translateFormulaToEnglish(), and _translateFormulaToLocale().
PHPExcel_Calculation::_translateFormulaToEnglish | ( | $formula | ) |
Definition at line 2029 of file Calculation.php.
References _translateFormula().
PHPExcel_Calculation::_translateFormulaToLocale | ( | $formula | ) |
Definition at line 2000 of file Calculation.php.
References _translateFormula().
|
static |
Definition at line 1949 of file Calculation.php.
Referenced by _translateFormula(), and PHPExcel_Reader_OOCalc\loadIntoExisting().
|
static |
Remove quotes used as a wrapper to identify string values.
mixed | $value |
Definition at line 2099 of file Calculation.php.
References PHPExcel_Calculation_Functions\NaN().
Referenced by _executeBinaryComparisonOperation(), _processTokenStack(), _validateBinaryOperand(), calculateCellValue(), calculateFormula(), and PHPExcel_Reader_SYLK\loadIntoExisting().
|
private |
Definition at line 3370 of file Calculation.php.
References _showTypeDetails(), _unwrapResult(), _writeDebug(), and PHPExcel_Shared_String\convertToNumberIfFraction().
Referenced by _executeNumericBinaryOperation().
|
static |
Wrap string values in quotes.
mixed | $value |
Definition at line 2075 of file Calculation.php.
References PHPExcel_Calculation_Functions\NaN().
Referenced by PHPExcel_Calculation_Database\__filter(), _calculateFormulaValue(), PHPExcel_Calculation_Functions\_ifCondition(), _parseFormula(), PHPExcel_Calculation_Statistical\AVERAGEIF(), PHPExcel_Calculation_Statistical\COUNTIF(), PHPExcel_Calculation_Statistical\MAXIF(), PHPExcel_Calculation_Statistical\MINIF(), and PHPExcel_Calculation_MathTrig\SUMIF().
|
private |
Definition at line 3551 of file Calculation.php.
Referenced by _calculateFormulaValue(), _executeBinaryComparisonOperation(), _executeNumericBinaryOperation(), _processTokenStack(), and _validateBinaryOperand().
PHPExcel_Calculation::calculate | ( | PHPExcel_Cell | $pCell = null | ) |
Calculate cell value (using formula from a cell ID) Retained for backward compatibility.
public
PHPExcel_Cell | $pCell | Cell to calculate |
Exception |
Definition at line 2123 of file Calculation.php.
References calculateCellValue().
PHPExcel_Calculation::calculateCellValue | ( | PHPExcel_Cell | $pCell = null , |
$resetLog = true |
|||
) |
Calculate the value of a cell formula.
public
PHPExcel_Cell | $pCell | Cell to calculate |
Boolean | $resetLog | Flag indicating whether the debug log should be reset or not |
Exception |
Definition at line 2141 of file Calculation.php.
References $returnArrayAsType, _calculateFormulaValue(), _unwrapResult(), PHPExcel_Calculation_Functions\flattenArray(), PHPExcel_Calculation_Functions\NaN(), RETURN_ARRAY_AS_ARRAY, and PHPExcel_Calculation_Functions\VALUE().
Referenced by calculate().
PHPExcel_Calculation::calculateFormula | ( | $formula, | |
$cellID = null , |
|||
PHPExcel_Cell | $pCell = null |
||
) |
Calculate the value of a formula.
string | $formula | Formula to parse |
Exception |
Definition at line 2225 of file Calculation.php.
References _calculateFormulaValue(), _unwrapResult(), and getCalculationCacheEnabled().
PHPExcel_Calculation::clearCalculationCache | ( | ) |
Clear calculation cache.
Definition at line 1835 of file Calculation.php.
Referenced by setCalculationCacheEnabled().
PHPExcel_Calculation::disableCalculationCache | ( | ) |
Disable calculation cache.
Definition at line 1827 of file Calculation.php.
References setCalculationCacheEnabled().
PHPExcel_Calculation::enableCalculationCache | ( | ) |
Enable calculation cache.
Definition at line 1819 of file Calculation.php.
References setCalculationCacheEnabled().
PHPExcel_Calculation::extractCellRange | ( | & | $pRange = 'A1' , |
PHPExcel_Worksheet | $pSheet = null , |
||
$resetLog = true |
|||
) |
Extract range values.
string | &$pRange | String based range representation |
PHPExcel_Worksheet | $pSheet | Worksheet |
Exception |
Definition at line 3578 of file Calculation.php.
References PHPExcel_Cell\extractAllCellReferencesInRange(), and PHPExcel_Worksheet\extractSheetTitle().
Referenced by _processTokenStack().
PHPExcel_Calculation::extractNamedRange | ( | & | $pRange = 'A1' , |
PHPExcel_Worksheet | $pSheet = null , |
||
$resetLog = true |
|||
) |
Extract range values.
string | &$pRange | String based range representation |
PHPExcel_Worksheet | $pSheet | Worksheet |
Exception |
Definition at line 3634 of file Calculation.php.
References PHPExcel_Cell\coordinateFromString(), PHPExcel_Cell\extractAllCellReferencesInRange(), PHPExcel_Worksheet\extractSheetTitle(), PHPExcel_Calculation_Functions\REF(), PHPExcel_NamedRange\resolveRange(), and PHPExcel_Cell\splitRange().
Referenced by _processTokenStack().
|
static |
Flush the calculation cache for any existing instance of this class but only if a PHPExcel_Calculation instance exists.
public
Definition at line 1726 of file Calculation.php.
|
static |
Return the Array Return Type (Array or Value of first element in the array)
public
Definition at line 1788 of file Calculation.php.
References $returnArrayAsType.
Referenced by PHPExcel_Writer_CSV\save(), PHPExcel_Writer_HTML\save(), and PHPExcel_Writer_PDF\save().
PHPExcel_Calculation::getCalculationCacheEnabled | ( | ) |
Is calculation caching enabled?
public
Definition at line 1799 of file Calculation.php.
References $_calculationCacheEnabled.
Referenced by calculateFormula().
PHPExcel_Calculation::getCalculationCacheExpirationTime | ( | ) |
Get calculation cache expiration time.
Definition at line 1845 of file Calculation.php.
References $_calculationCacheExpirationTime.
|
static |
Return the locale-specific translation of FALSE.
public
Definition at line 1760 of file Calculation.php.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), PHPExcel_Calculation_Logical\LOGICAL_AND(), PHPExcel_Calculation_Logical\LOGICAL_OR(), and PHPExcel_Calculation_Logical\NOT().
|
static |
Get an instance of this class.
public
Definition at line 1710 of file Calculation.php.
References $_instance.
Referenced by PHPExcel_Calculation_Database\__filter(), PHPExcel_Calculation_Statistical\AVERAGEIF(), PHPExcel_Shared_String\convertToNumberIfFraction(), PHPExcel_Calculation_Statistical\COUNTIF(), PHPExcel_Cell\getCalculatedValue(), PHPExcel_Calculation_LookupRef\INDIRECT(), PHPExcel_Calculation_Statistical\MAXIF(), PHPExcel_Calculation_Statistical\MINIF(), PHPExcel_Calculation_LookupRef\OFFSET(), PHPExcel_Writer_CSV\save(), PHPExcel_Writer_Excel5\save(), PHPExcel_Writer_HTML\save(), PHPExcel_Writer_Excel2007\save(), PHPExcel_Settings\setLocale(), and PHPExcel_Calculation_MathTrig\SUMIF().
PHPExcel_Calculation::getLocale | ( | ) |
Get the currently defined locale code.
Definition at line 1867 of file Calculation.php.
References $_localeLanguage.
|
static |
Return the locale-specific translation of TRUE.
public
Definition at line 1750 of file Calculation.php.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue(), PHPExcel_Calculation_Logical\LOGICAL_AND(), PHPExcel_Calculation_Logical\LOGICAL_OR(), and PHPExcel_Calculation_Logical\NOT().
PHPExcel_Calculation::isImplemented | ( | $pFunction = '' | ) |
Is a specific function implemented?
string | $pFunction | Function Name |
Definition at line 3716 of file Calculation.php.
PHPExcel_Calculation::listAllFunctionNames | ( | ) |
Get a list of all Excel function names.
Definition at line 3754 of file Calculation.php.
PHPExcel_Calculation::listFunctionNames | ( | ) |
Get a list of implemented Excel function names.
Definition at line 3763 of file Calculation.php.
PHPExcel_Calculation::listFunctions | ( | ) |
Get a list of all implemented functions as an array of function objects.
Definition at line 3731 of file Calculation.php.
PHPExcel_Calculation::parseFormula | ( | $formula | ) |
Validate and parse a formula string.
string | $formula | Formula to parse |
Exception |
Definition at line 2205 of file Calculation.php.
References _parseFormula().
|
static |
Set the Array Return Type (Array or Value of first element in the array)
public
string | $returnType | Array return type |
Definition at line 1771 of file Calculation.php.
Referenced by PHPExcel_Writer_CSV\save(), PHPExcel_Writer_HTML\save(), and PHPExcel_Writer_PDF\save().
PHPExcel_Calculation::setCalculationCacheEnabled | ( | $pValue = true | ) |
Enable/disable calculation cache.
public
boolean | $pValue |
Definition at line 1810 of file Calculation.php.
References clearCalculationCache().
Referenced by disableCalculationCache(), and enableCalculationCache().
PHPExcel_Calculation::setCalculationCacheExpirationTime | ( | $pValue = 15 | ) |
Set calculation cache expiration time.
float | $pValue |
Definition at line 1855 of file Calculation.php.
PHPExcel_Calculation::setLocale | ( | $locale = 'en_us' | ) |
Set the locale code.
Definition at line 1877 of file Calculation.php.
|
staticprivate |
Definition at line 146 of file Calculation.php.
|
staticprivate |
Definition at line 105 of file Calculation.php.
|
staticprivate |
Definition at line 114 of file Calculation.php.
Referenced by getCalculationCacheEnabled().
|
staticprivate |
Definition at line 123 of file Calculation.php.
Referenced by getCalculationCacheExpirationTime().
|
staticprivate |
Definition at line 1674 of file Calculation.php.
|
private |
Definition at line 214 of file Calculation.php.
|
private |
Definition at line 213 of file Calculation.php.
Referenced by _calculateFormulaValue().
|
staticprivate |
Definition at line 233 of file Calculation.php.
|
staticprivate |
Definition at line 96 of file Calculation.php.
Referenced by getInstance().
|
staticprivate |
Definition at line 224 of file Calculation.php.
|
static |
Definition at line 226 of file Calculation.php.
|
staticprivate |
Definition at line 225 of file Calculation.php.
|
staticprivate |
Definition at line 221 of file Calculation.php.
Referenced by getLocale().
|
staticprivate |
Definition at line 133 of file Calculation.php.
|
staticprivate |
Definition at line 239 of file Calculation.php.
|
private |
Definition at line 218 of file Calculation.php.
|
staticprivate |
Definition at line 222 of file Calculation.php.
PHPExcel_Calculation::$cyclicFormulaCount = 0 |
Definition at line 215 of file Calculation.php.
PHPExcel_Calculation::$debugLog = array() |
Definition at line 212 of file Calculation.php.
|
private |
Definition at line 203 of file Calculation.php.
PHPExcel_Calculation::$echoDebugLog = false |
Definition at line 193 of file Calculation.php.
PHPExcel_Calculation::$formulaError = null |
Definition at line 170 of file Calculation.php.
|
staticprivate |
Definition at line 1997 of file Calculation.php.
|
staticprivate |
Definition at line 2026 of file Calculation.php.
|
staticprivate |
Definition at line 2027 of file Calculation.php.
|
staticprivate |
Definition at line 1998 of file Calculation.php.
|
staticprivate |
Definition at line 87 of file Calculation.php.
Referenced by calculateCellValue(), and getArrayReturnType().
PHPExcel_Calculation::$suppressFormulaErrors = false |
Definition at line 161 of file Calculation.php.
PHPExcel_Calculation::$writeDebugLog = false |
Definition at line 181 of file Calculation.php.
const PHPExcel_Calculation::CALCULATION_REGEXP_CELLREF = CALCULATION_REGEXP_CELLREF |
Definition at line 75 of file Calculation.php.
Referenced by PHPExcel_Worksheet\cellExists(), PHPExcel_Worksheet\getCell(), and PHPExcel_Calculation_LookupRef\INDIRECT().
const PHPExcel_Calculation::CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?' |
Definition at line 79 of file Calculation.php.
const PHPExcel_Calculation::CALCULATION_REGEXP_FUNCTION = '@?([A-Z][A-Z0-9\.]*)[\s]*\(' |
Definition at line 73 of file Calculation.php.
const PHPExcel_Calculation::CALCULATION_REGEXP_NAMEDRANGE = CALCULATION_REGEXP_NAMEDRANGE |
Definition at line 77 of file Calculation.php.
Referenced by PHPExcel_Worksheet\cellExists(), and PHPExcel_Worksheet\getCell().
const PHPExcel_Calculation::CALCULATION_REGEXP_NUMBER = '[-+]?\d*\.?\d+(e[-+]?\d+)?' |
Constants.
Regular Expressions
Definition at line 67 of file Calculation.php.
Referenced by PHPExcel_Cell_AdvancedValueBinder\bindValue().
const PHPExcel_Calculation::CALCULATION_REGEXP_OPENBRACE = '\(' |
Definition at line 71 of file Calculation.php.
const PHPExcel_Calculation::CALCULATION_REGEXP_STRING = '"(?:[^"]|"")*"' |
Definition at line 69 of file Calculation.php.
const PHPExcel_Calculation::RETURN_ARRAY_AS_ARRAY = 'array' |
Definition at line 85 of file Calculation.php.
Referenced by calculateCellValue().
const PHPExcel_Calculation::RETURN_ARRAY_AS_ERROR = 'error' |
constants
Definition at line 83 of file Calculation.php.
const PHPExcel_Calculation::RETURN_ARRAY_AS_VALUE = 'value' |
Definition at line 84 of file Calculation.php.
Referenced by PHPExcel_Writer_CSV\save(), PHPExcel_Writer_HTML\save(), and PHPExcel_Writer_PDF\save().