Class: PHPExcel_Calculation
Source Location: /PHPExcel/Calculation.php
PHPExcel_Calculation (Singleton)
Author(s):
Copyright:
- Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
|
|
|
|
Class Details
Class Variables
Class Methods
static method getArrayReturnType [line 1622]
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 1579]
Get an instance of this class Get an instance of this class
Tags:
static method setArrayReturnType [line 1606]
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 1909]
static void _checkMatrixOperands(
&$operand1,
&$operand2, [
$resize = 1], mixed
$operand1, mixed
$operand2)
|
|
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 2125]
static void _convertMatrixReferences(
$formula)
|
|
Tags:
Parameters:
static method _getMatrixDimensions [line 1951]
static array _getMatrixDimensions(
&$matrix, 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 2176]
static method _reindexMatrixDimensions [line 1937]
static array _reindexMatrixDimensions(
mixed
$matrix)
|
|
Re-index a matrix with straight numeric keys starting from row 0, column 0 Re-index a matrix with straight numeric keys starting from row 0, column 0
Tags:
Parameters:
static method _resizeMatricesExtend [line 2014]
static void _resizeMatricesExtend(
&$matrix1,
&$matrix2, 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 1972]
static void _resizeMatricesShrink(
&$matrix1,
&$matrix2, 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 2094]
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 2060]
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 1726]
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 1702]
static mixed _wrapResult(
mixed
$value)
|
|
Wrap string values in quotes Wrap string values in quotes
Tags:
Parameters:
method calculate [line 1750]
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 1764]
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 1812]
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 1669]
void clearCalculationCache(
)
|
|
Clear calculation cache Clear calculation cache
Tags:
method disableCalculationCache [line 1661]
void disableCalculationCache(
)
|
|
Disable calculation cache Disable calculation cache
Tags:
method enableCalculationCache [line 1653]
void enableCalculationCache(
)
|
|
Enable calculation cache Enable calculation cache
Tags:
method extractCellRange [line 2873]
mixed extractCellRange(
[string
$pRange = 'A1'], [
$pSheet = null], [
$resetLog = true])
|
|
Extract range values Extract range values
Tags:
Parameters:
method extractNamedRange [line 2920]
mixed extractNamedRange(
[string
$pRange = 'A1'], [
$pSheet = null], [
$resetLog = true])
|
|
Extract range values Extract range values
Tags:
Parameters:
method getCalculationCacheEnabled [line 1633]
boolean getCalculationCacheEnabled(
)
|
|
Is calculation caching enabled? Is calculation caching enabled?
Tags:
method getCalculationCacheExpirationTime [line 1679]
float getCalculationCacheExpirationTime(
)
|
|
Get calculation cache expiration time Get calculation cache expiration time
Tags:
method isImplemented [line 2989]
boolean isImplemented(
[string
$pFunction = ''])
|
|
Is a specific function implemented? Is a specific function implemented?
Tags:
Parameters:
method listFunctionNames [line 3027]
array listFunctionNames(
)
|
|
Get a list of implemented Excel function names Get a list of implemented Excel function names
Tags:
method listFunctions [line 3004]
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 1791]
array parseFormula(
string
$formula)
|
|
Validate and parse a formula string Validate and parse a formula string
Tags:
Parameters:
method setCalculationCacheEnabled [line 1644]
void setCalculationCacheEnabled(
[boolean
$pValue = true])
|
|
Enable/disable calculation cache Enable/disable calculation cache
Tags:
Parameters:
method setCalculationCacheExpirationTime [line 1689]
void setCalculationCacheExpirationTime(
[float
$pValue = 0.01])
|
|
Set calculation cache expiration time Set calculation cache expiration time
Tags:
Parameters:
method _calculateFormulaValue [line 1840]
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 2747]
void _executeBinaryComparisonOperation(
$cellID,
$operand1,
$operand2,
$operation,
&$stack)
|
|
Tags:
Parameters:
method _executeNumericBinaryOperation [line 2785]
void _executeNumericBinaryOperation(
$cellID,
$operand1,
$operand2,
$operation,
$matrixFunction,
&$stack)
|
|
Tags:
Parameters:
method _parseFormula [line 2182]
void _parseFormula(
$formula)
|
|
Tags:
Parameters:
method _processTokenStack [line 2469]
void _processTokenStack(
$tokens, [
$cellID = null], [
$pCell = null])
|
|
Tags:
Parameters:
method _raiseFormulaError [line 2858]
void _raiseFormulaError(
$errorMessage)
|
|
Tags:
Parameters:
method _validateBinaryOperand [line 2720]
void _validateBinaryOperand(
$cellID,
&$operand,
&$stack)
|
|
Tags:
Parameters:
method _writeDebug [line 2847]
void _writeDebug(
$cellID,
$message)
|
|
Tags:
Parameters:
method __clone [line 1594]
__clone implementation. __clone implementation. Cloning should not be allowed in a Singleton!
Tags:
Class Constants
|
|