PHPExcel_Calculation (Multiton)
| category | PHPExcel |
|---|---|
| package | PHPExcel_Calculation |
| copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
__clone()
Cloning should not be allowed in a Singleton!
| access | public |
|---|
\PHPExcel_Calculation_Exception |
|---|
__destruct()
_calculateFormulaValue(string $formula, string $cellID, \PHPExcel_Cell $pCell) : mixed
stringThe formula to parse and calculate
stringThe ID (e.g. A3) of the cell that we are calculating
\PHPExcel_Calculation_Exception |
|---|
mixed_getMatrixDimensions(mixed $matrix) : array
mixed&$matrix matrix operand
arrayAn array comprising the number of rows, and number of columns_localeFunc($function)
_translateFormulaToEnglish($formula)
_translateFormulaToLocale($formula)
_translateSeparator($fromSeparator, $toSeparator, $formula, $inBraces)
_unwrapResult(mixed $value) : mixed
mixed
mixed_wrapResult(mixed $value) : mixed
mixed
mixedcalculate(\PHPExcel_Cell $pCell) : mixed
calculateCellValue(\PHPExcel_Cell $pCell, Boolean $resetLog) : mixed
| access | public |
|---|
BooleanFlag indicating whether the debug log should be reset or not
\PHPExcel_Calculation_Exception |
|---|
mixedcalculateFormula(string $formula, string $cellID, \PHPExcel_Cell $pCell) : mixed
stringFormula to parse
stringAddress of the cell to calculate
\PHPExcel_Calculation_Exception |
|---|
mixedclearCalculationCache()
clearCalculationCacheForWorksheet(string $worksheetName)
string
disableCalculationCache()
enableCalculationCache()
extractCellRange(string $pRange, \PHPExcel_Worksheet $pSheet, boolean $resetLog) : mixed
string&$pRange String based range representation
booleanFlag indicating whether calculation log should be reset or not
\PHPExcel_Calculation_Exception |
|---|
mixedArray of values in range if range contains more than one element. Otherwise, a single value is returned.extractNamedRange(string $pRange, \PHPExcel_Worksheet $pSheet, boolean $resetLog) : mixed
string&$pRange String based range representation
booleanFlag indicating whether calculation log should be reset or not
\PHPExcel_Calculation_Exception |
|---|
mixedArray of values in range if range contains more than one element. Otherwise, a single value is returned.flushInstance() : null
| access | public |
|---|
nullgetArrayReturnType() : string
| access | public |
|---|
string$returnType Array return typegetCalculationCacheEnabled() : boolean
| access | public |
|---|
booleangetFALSE() : string
| access | public |
|---|
stringlocale-specific translation of FALSEgetInstance(\PHPExcel $workbook) : \PHPExcel_Calculation
| access | public |
|---|
\PHPExcelInjected workbook for working with a PHPExcel object, or NULL to create a standalone claculation engine
getLocale() : string
stringgetTRUE() : string
| access | public |
|---|
stringlocale-specific translation of TRUEgetValueFromCache($worksheetName, $cellID, $cellValue)
isImplemented(string $pFunction) : boolean
stringFunction Name
booleanlistAllFunctionNames() : array
arraylistFunctionNames() : array
arraylistFunctions() : array
arrayof PHPExcel_Calculation_FunctionparseFormula(string $formula) : array
renameCalculationCacheForWorksheet(string $fromWorksheetName, string $toWorksheetName)
string
string
saveValueToCache($worksheetName, $cellID, $cellValue)
setArrayReturnType(string $returnType) : boolean
| access | public |
|---|
stringArray return type
booleanSuccess or failuresetCalculationCacheEnabled(boolean $pValue)
| access | public |
|---|
boolean
setLocale(string $locale) : boolean
stringThe locale to use for formula translation
booleanunsetInstance(\PHPExcel $workbook)
_raiseFormulaError($errorMessage)
__construct(\PHPExcel $workbook)
_checkMatrixOperands(mixed $operand1, mixed $operand2, integer $resize)
mixed&$operand1 First matrix operand
mixed&$operand2 Second matrix operand
integerFlag 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
_convertMatrixReferences($formula)
_dataTestReference($operandData)
_executeBinaryComparisonOperation($cellID, $operand1, $operand2, $operation, $stack, $recursingArrays)
_executeNumericBinaryOperation($cellID, $operand1, $operand2, $operation, $matrixFunction, $stack)
_loadLocales()
_mkMatrix()
_parseFormula($formula, \PHPExcel_Cell $pCell)
_processTokenStack($tokens, $cellID, \PHPExcel_Cell $pCell)
_resizeMatricesExtend(mixed $matrix1, mixed $matrix2, integer $matrix1Rows, integer $matrix1Columns, integer $matrix2Rows, integer $matrix2Columns)
mixed&$matrix1 First matrix operand
mixed&$matrix2 Second matrix operand
integerRow size of first matrix operand
integerColumn size of first matrix operand
integerRow size of second matrix operand
integerColumn size of second matrix operand
_resizeMatricesShrink(mixed $matrix1, mixed $matrix2, integer $matrix1Rows, integer $matrix1Columns, integer $matrix2Rows, integer $matrix2Columns)
mixed&$matrix1 First matrix operand
mixed&$matrix2 Second matrix operand
integerRow size of first matrix operand
integerColumn size of first matrix operand
integerRow size of second matrix operand
integerColumn size of second matrix operand
_showTypeDetails(mixed $value) : mixed
mixedFirst matrix operand
mixed_showValue(mixed $value) : mixed
mixedFirst matrix operand
mixed_translateFormula($from, $to, $formula, $fromSeparator, $toSeparator)
_validateBinaryOperand($cellID, $operand, $stack)
$_localeBoolean : string[]
$cyclicFormulaCount : integer
$formulaError : string
| access | public |
|---|
$suppressFormulaErrors : boolean
| access | public |
|---|
$_ExcelConstants : string[]
$_PHPExcelFunctions
$_binaryOperators : array
| access | private |
|---|
$_calculationCache : array
| access | private |
|---|
$_calculationCacheEnabled : boolean
| access | private |
|---|
$_comparisonOperators
$_controlFunctions
$_cyclicFormulaCell
$_cyclicFormulaCount : integer
$_cyclicReferenceStack : array
| access | private |
|---|
$_instance : \PHPExcel_Calculation
| access | private |
|---|
$_localeArgumentSeparator : string
$_localeFunctions
$_localeLanguage : string
$_operatorAssociativity
$_operatorPrecedence
$_operators : array
| access | private |
|---|
$_savedPrecision : integer
$_validLocaleLanguages : string[]
$_workbook : \PHPExcel
| access | private |
|---|
$_workbookSets : \PHPExcel_Calculation[]
| access | private |
|---|
$debugLog : \PHPExcel_CalcEngine_Logger
| access | private |
|---|
$functionReplaceFromExcel
$functionReplaceFromLocale
$functionReplaceToExcel
$functionReplaceToLocale
$returnArrayAsType
CALCULATION_REGEXP_CELLREF
CALCULATION_REGEXP_ERROR
CALCULATION_REGEXP_FUNCTION
CALCULATION_REGEXP_NAMEDRANGE
CALCULATION_REGEXP_NUMBER
CALCULATION_REGEXP_OPENBRACE
CALCULATION_REGEXP_STRING
RETURN_ARRAY_AS_ARRAY
RETURN_ARRAY_AS_ERROR
RETURN_ARRAY_AS_VALUE