PHPExcel_Calculation_Functions
category | PHPExcel |
---|---|
package | PHPExcel_Calculation |
copyright | Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel) |
DIV0() : string
access | public |
---|---|
category | Error Returns |
string
#Not Yet ImplementedDUMMY() : string
access | public |
---|---|
category | Error Returns |
string
#Not Yet ImplementedERROR_TYPE(mixed $value) : boolean
mixed
Value to check
boolean
IS_BLANK(mixed $value) : boolean
mixed
Value to check
boolean
IS_ERR(mixed $value) : boolean
mixed
Value to check
boolean
IS_ERROR(mixed $value) : boolean
mixed
Value to check
boolean
IS_EVEN(mixed $value) : boolean
mixed
Value to check
boolean
IS_LOGICAL(mixed $value) : boolean
mixed
Value to check
boolean
IS_NA(mixed $value) : boolean
mixed
Value to check
boolean
IS_NONTEXT(mixed $value) : boolean
mixed
Value to check
boolean
IS_NUMBER(mixed $value) : boolean
mixed
Value to check
boolean
IS_ODD(mixed $value) : boolean
mixed
Value to check
boolean
IS_TEXT(mixed $value) : boolean
mixed
Value to check
boolean
N(\value $value) : \number
Returns a value converted to a number
\value
The value you want converted
\number
N converts values listed in the following table
If value is or refers to N returns
A number That number
A date The serial number of that date
TRUE 1
FALSE 0
An error value The error value
Anything else 0NA() : string
Excel Function: =NA()
Returns the error value #N/A #N/A is the error value that means "no value is available."
access | public |
---|---|
category | Logical Functions |
string
#N/A!NAME() : string
Returns the error value #NAME?
access | public |
---|---|
category | Error Returns |
string
#NAME?NULL() : string
Returns the error value #NULL!
access | public |
---|---|
category | Error Returns |
string
#REF!NaN() : string
Returns the error value #NUM!
access | public |
---|---|
category | Error Returns |
string
#NUM!REF() : string
Returns the error value #REF!
access | public |
---|---|
category | Error Returns |
string
#REF!TYPE(\value $value) : \number
Returns a number that identifies the type of a value
\value
The value you want tested
\number
N converts values listed in the following table
If value is or refers to N returns
A number 1
Text 2
Logical Value 4
An error value 16
Array or Matrix 64VALUE() : string
Returns the error value #VALUE!
access | public |
---|---|
category | Error Returns |
string
#VALUE!VERSION() : string
string
Version information_ifCondition($condition)
flattenArray(array $array) : array
array
Array to be flattened
array
Flattened arrayflattenArrayIndexed(array $array) : array
array
Array to be flattened
array
Flattened arrayflattenSingleValue(mixed $value) : mixed
mixed
Array or scalar value
mixed
getCompatibilityMode() : string
access | public |
---|---|
category | Function Configuration |
string
Compatibility Mode
Possible Return values are:
PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel'
PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric'
PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc'getReturnDateType() : string
access | public |
---|---|
category | Function Configuration |
string
Return Date Format
Possible Return values are:
PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P'
PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O'
PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E'isCellValue($idx)
isMatrixValue($idx)
isValue($idx)
setCompatibilityMode(string $compatibilityMode) : boolean
access | public |
---|---|
category | Function Configuration |
string
Compatibility Mode Permitted values are: PHPExcel_Calculation_Functions::COMPATIBILITY_EXCEL 'Excel' PHPExcel_Calculation_Functions::COMPATIBILITY_GNUMERIC 'Gnumeric' PHPExcel_Calculation_Functions::COMPATIBILITY_OPENOFFICE 'OpenOfficeCalc'
boolean
(Success or Failure)setReturnDateType(string $returnDateType) : boolean
access | public |
---|---|
category | Function Configuration |
string
Return Date Format Permitted values are: PHPExcel_Calculation_Functions::RETURNDATE_PHP_NUMERIC 'P' PHPExcel_Calculation_Functions::RETURNDATE_PHP_OBJECT 'O' PHPExcel_Calculation_Functions::RETURNDATE_EXCEL 'E'
boolean
Success or failure$ReturnDateType : string
access | private |
---|
$_errorCodes : array
access | private |
---|
$compatibilityMode : string
access | private |
---|
COMPATIBILITY_EXCEL
COMPATIBILITY_GNUMERIC
COMPATIBILITY_OPENOFFICE
RETURNDATE_EXCEL
RETURNDATE_PHP_NUMERIC
RETURNDATE_PHP_OBJECT