Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

File Size: 171 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ExcelError:: (10 methods):
  throwError()
  type()
  null()
  NAN()
  REF()
  NA()
  VALUE()
  NAME()
  DIV0()
  CALC()


Class: ExcelError  - X-Ref

throwError($value)   X-Ref

param: mixed $value

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

param: mixed $value Value to check
return: array|int|string

null()   X-Ref
NULL.

Returns the error value #NULL!

return: string #NULL!

NAN()   X-Ref
NaN.

Returns the error value #NUM!

return: string #NUM!

REF()   X-Ref
REF.

Returns the error value #REF!

return: string #REF!

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!

VALUE()   X-Ref
VALUE.

Returns the error value #VALUE!

return: string #VALUE!

NAME()   X-Ref
NAME.

Returns the error value #NAME?

return: string #NAME?

DIV0()   X-Ref
DIV0.

return: string #DIV/0!

CALC()   X-Ref
CALC.

return: string #CALC!