Class: PHPExcel_Calculation
Source Location: /PHPExcel/Calculation.php
PHPExcel_Calculation (Singleton)
Author(s):
Copyright:
- Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
|
|
|
|
Class Details
Class Variables
Class Methods
static method getArrayReturnType [line 1641]
static string getArrayReturnType(
)
|
|
Return the Array Return Type (Array or Value of first element in the array) Return the Array Return Type (Array or Value of first element in the array)
Tags:
static method getInstance [line 1597]
Get an instance of this class Get an instance of this class
Tags:
static method setArrayReturnType [line 1624]
static boolean setArrayReturnType(
string
$returnType)
|
|
Set the Array Return Type (Array or Value of first element in the array) Set the Array Return Type (Array or Value of first element in the array)
Tags:
Parameters:
static method _checkMatrixOperands [line 1963]
static void _checkMatrixOperands(
mixed
&$operand1, mixed
&$operand2, [integer
$resize = 1])
|
|
Ensure that paired matrix operands are both matrices and of the same size Ensure that paired matrix operands are both matrices and of the same size
Tags:
Parameters:
static method _convertMatrixReferences [line 2165]
static void _convertMatrixReferences(
$formula)
|
|
Tags:
Parameters:
static method _getMatrixDimensions [line 1998]
static array _getMatrixDimensions(
mixed
&$matrix)
|
|
Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0 Read the dimensions of a matrix, and re-index it with straight numeric keys starting from row 0, column 0
Tags:
Parameters:
static method _mkMatrix [line 2215]
static method _resizeMatricesExtend [line 2061]
static void _resizeMatricesExtend(
mixed
&$matrix1, mixed
&$matrix2)
|
|
Ensure that paired matrix operands are both matrices of the same size Ensure that paired matrix operands are both matrices of the same size
Tags:
Parameters:
static method _resizeMatricesShrink [line 2019]
static void _resizeMatricesShrink(
mixed
&$matrix1, mixed
&$matrix2)
|
|
Ensure that paired matrix operands are both matrices of the same size Ensure that paired matrix operands are both matrices of the same size
Tags:
Parameters:
static method _showTypeDetails [line 2134]
static mixed _showTypeDetails(
mixed
$value)
|
|
Format type and details of an operand for display in the log (based on operand type) Format type and details of an operand for display in the log (based on operand type)
Tags:
Parameters:
static method _showValue [line 2107]
static mixed _showValue(
mixed
$value)
|
|
Format details of an operand for display in the log (based on operand type) Format details of an operand for display in the log (based on operand type)
Tags:
Parameters:
static method _unwrapResult [line 1745]
static mixed _unwrapResult(
mixed
$value)
|
|
Remove quotes used as a wrapper to identify string values Remove quotes used as a wrapper to identify string values
Tags:
Parameters:
static method _wrapResult [line 1721]
static mixed _wrapResult(
mixed
$value)
|
|
Wrap string values in quotes Wrap string values in quotes
Tags:
Parameters:
method calculate [line 1769]
mixed calculate(
[
$pCell = null])
|
|
Calculate cell value (using formula from a cell ID) Calculate cell value (using formula from a cell ID) Retained for backward compatibility
Tags:
Parameters:
method calculateCellValue [line 1783]
mixed calculateCellValue(
[
$pCell = null], [Boolean
$resetLog = true])
|
|
Calculate the value of a cell formula Calculate the value of a cell formula
Tags:
Parameters:
method calculateFormula [line 1861]
mixed calculateFormula(
string
$formula, [
$cellID = null], [
$pCell = null])
|
|
Calculate the value of a formula Calculate the value of a formula
Tags:
Parameters:
method clearCalculationCache [line 1688]
void clearCalculationCache(
)
|
|
Clear calculation cache Clear calculation cache
Tags:
method disableCalculationCache [line 1680]
void disableCalculationCache(
)
|
|
Disable calculation cache Disable calculation cache
Tags:
method enableCalculationCache [line 1672]
void enableCalculationCache(
)
|
|
Enable calculation cache Enable calculation cache
Tags:
method extractCellRange [line 3080]
mixed extractCellRange(
[string
&$pRange = 'A1'], [
$pSheet = null], [
$resetLog = true])
|
|
Extract range values Extract range values
Tags:
Parameters:
method extractNamedRange [line 3135]
mixed extractNamedRange(
[string
&$pRange = 'A1'], [
$pSheet = null], [
$resetLog = true])
|
|
Extract range values Extract range values
Tags:
Parameters:
method getCalculationCacheEnabled [line 1652]
boolean getCalculationCacheEnabled(
)
|
|
Is calculation caching enabled? Is calculation caching enabled?
Tags:
method getCalculationCacheExpirationTime [line 1698]
float getCalculationCacheExpirationTime(
)
|
|
Get calculation cache expiration time Get calculation cache expiration time
Tags:
method isImplemented [line 3206]
boolean isImplemented(
[string
$pFunction = ''])
|
|
Is a specific function implemented? Is a specific function implemented?
Tags:
Parameters:
method listFunctionNames [line 3244]
array listFunctionNames(
)
|
|
Get a list of implemented Excel function names Get a list of implemented Excel function names
Tags:
method listFunctions [line 3221]
Get a list of all implemented functions as an array of function objects Get a list of all implemented functions as an array of function objects
Tags:
method parseFormula [line 1840]
array parseFormula(
string
$formula)
|
|
Validate and parse a formula string Validate and parse a formula string
Tags:
Parameters:
method setCalculationCacheEnabled [line 1663]
void setCalculationCacheEnabled(
[boolean
$pValue = true])
|
|
Enable/disable calculation cache Enable/disable calculation cache
Tags:
Parameters:
method setCalculationCacheExpirationTime [line 1708]
void setCalculationCacheExpirationTime(
[float
$pValue = 2.5])
|
|
Set calculation cache expiration time Set calculation cache expiration time
Tags:
Parameters:
method _calculateFormulaValue [line 1888]
mixed _calculateFormulaValue(
string
$formula, [string
$cellID = null], [
$pCell = null])
|
|
Parse a cell formula and calculate its value Parse a cell formula and calculate its value
Tags:
Parameters:
method _executeBinaryComparisonOperation [line 2919]
void _executeBinaryComparisonOperation(
$cellID,
$operand1,
$operand2,
$operation,
&$stack, [
$recursingArrays = false])
|
|
Tags:
Parameters:
method _executeNumericBinaryOperation [line 2993]
void _executeNumericBinaryOperation(
$cellID,
$operand1,
$operand2,
$operation,
$matrixFunction,
&$stack)
|
|
Tags:
Parameters:
method _parseFormula [line 2221]
void _parseFormula(
$formula)
|
|
Tags:
Parameters:
method _processTokenStack [line 2532]
void _processTokenStack(
$tokens, [
$cellID = null], [
$pCell = null])
|
|
Tags:
Parameters:
method _raiseFormulaError [line 3064]
void _raiseFormulaError(
$errorMessage)
|
|
Tags:
Parameters:
method _validateBinaryOperand [line 2892]
void _validateBinaryOperand(
$cellID,
&$operand,
&$stack)
|
|
Tags:
Parameters:
method _writeDebug [line 3055]
void _writeDebug(
$message)
|
|
Tags:
Parameters:
method __clone [line 1612]
__clone implementation. __clone implementation. Cloning should not be allowed in a Singleton!
Tags:
Class Constants
|
|