[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/phpexcel/PHPExcel/Calculation/ -> Functions.php (summary)

PHPExcel Copyright (c) 2006 - 2014 PHPExcel

Copyright: Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
License: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL
Version: ##VERSION##, ##DATE##
File Size: 726 lines (17 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PHPExcel_Calculation_Functions:: (37 methods):
  setCompatibilityMode()
  getCompatibilityMode()
  setReturnDateType()
  getReturnDateType()
  DUMMY()
  DIV0()
  NA()
  NaN()
  NAME()
  REF()
  NULL()
  VALUE()
  isMatrixValue()
  isValue()
  isCellValue()
  _ifCondition()
  ERROR_TYPE()
  IS_BLANK()
  IS_ERR()
  IS_ERROR()
  IS_NA()
  IS_EVEN()
  IS_ODD()
  IS_NUMBER()
  IS_LOGICAL()
  IS_TEXT()
  IS_NONTEXT()
  VERSION()
  N()
  TYPE()
  flattenArray()
  flattenArrayIndexed()
  flattenSingleValue()
  acosh()
  asinh()
  atanh()
  mb_str_replace()


Class: PHPExcel_Calculation_Functions  - X-Ref

PHPExcel_Calculation_Functions

setCompatibilityMode($compatibilityMode)   X-Ref
Set the Compatibility Mode

param: string        $compatibilityMode        Compatibility Mode
return: boolean    (Success or Failure)

getCompatibilityMode()   X-Ref
Return the current Compatibility Mode

return: string        Compatibility Mode

setReturnDateType($returnDateType)   X-Ref
Set the Return Date Format used by functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object)

param: string    $returnDateType            Return Date Format
return: boolean                            Success or failure

getReturnDateType()   X-Ref
Return the current Return Date Format for functions that return a date/time (Excel, PHP Serialized Numeric or PHP Object)

return: string        Return Date Format

DUMMY()   X-Ref
DUMMY

return: string    #Not Yet Implemented

DIV0()   X-Ref
DIV0

return: string    #Not Yet Implemented

NA()   X-Ref
NA

Excel Function:
=NA()

Returns the error value #N/A
#N/A is the error value that means "no value is available."

return: string    #N/A!

NaN()   X-Ref
NaN

Returns the error value #NUM!

return: string    #NUM!

NAME()   X-Ref
NAME

Returns the error value #NAME?

return: string    #NAME?

REF()   X-Ref
REF

Returns the error value #REF!

return: string    #REF!

NULL()   X-Ref
NULL

Returns the error value #NULL!

return: string    #NULL!

VALUE()   X-Ref
VALUE

Returns the error value #VALUE!

return: string    #VALUE!

isMatrixValue($idx)   X-Ref
No description

isValue($idx)   X-Ref
No description

isCellValue($idx)   X-Ref
No description

_ifCondition($condition)   X-Ref
No description

ERROR_TYPE($value = '')   X-Ref
ERROR_TYPE

param: mixed    $value    Value to check
return: boolean

IS_BLANK($value = NULL)   X-Ref
IS_BLANK

param: mixed    $value    Value to check
return: boolean

IS_ERR($value = '')   X-Ref
IS_ERR

param: mixed    $value    Value to check
return: boolean

IS_ERROR($value = '')   X-Ref
IS_ERROR

param: mixed    $value    Value to check
return: boolean

IS_NA($value = '')   X-Ref
IS_NA

param: mixed    $value    Value to check
return: boolean

IS_EVEN($value = NULL)   X-Ref
IS_EVEN

param: mixed    $value    Value to check
return: boolean

IS_ODD($value = NULL)   X-Ref
IS_ODD

param: mixed    $value    Value to check
return: boolean

IS_NUMBER($value = NULL)   X-Ref
IS_NUMBER

param: mixed    $value        Value to check
return: boolean

IS_LOGICAL($value = NULL)   X-Ref
IS_LOGICAL

param: mixed    $value        Value to check
return: boolean

IS_TEXT($value = NULL)   X-Ref
IS_TEXT

param: mixed    $value        Value to check
return: boolean

IS_NONTEXT($value = NULL)   X-Ref
IS_NONTEXT

param: mixed    $value        Value to check
return: boolean

VERSION()   X-Ref
VERSION

return: string    Version information

N($value = NULL)   X-Ref
N

Returns a value converted to a number

param: value        The value you want converted
return: number        N converts values listed in the following table

TYPE($value = NULL)   X-Ref
TYPE

Returns a number that identifies the type of a value

param: value        The value you want tested
return: number        N converts values listed in the following table

flattenArray($array)   X-Ref
Convert a multi-dimensional array to a simple 1-dimensional array

param: array    $array    Array to be flattened
return: array    Flattened array

flattenArrayIndexed($array)   X-Ref
Convert a multi-dimensional array to a simple 1-dimensional array, but retain an element of indexing

param: array    $array    Array to be flattened
return: array    Flattened array

flattenSingleValue($value = '')   X-Ref
Convert an array to a single scalar value by extracting the first element

param: mixed        $value        Array or scalar value
return: mixed

acosh($x)   X-Ref
No description

asinh($x)   X-Ref
No description

atanh($x)   X-Ref
No description

mb_str_replace($search, $replace, $subject)   X-Ref
No description



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1