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.

Differences Between: [Versions 310 and 401] [Versions 39 and 401]

(no description)

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

Defines 1 class

Cell:: (16 methods):
  __construct()
  setValue()
  getValue()
  getValueEvenIfError()
  setStyle()
  getStyle()
  getType()
  setType()
  detectType()
  isBoolean()
  isEmpty()
  isNumeric()
  isString()
  isDate()
  isError()
  __toString()


Class: Cell  - X-Ref

Class Cell

__construct($value, Style $style = null)   X-Ref

param: mixed|null $value
param: Style|null $style

setValue($value)   X-Ref

param: mixed|null $value

getValue()   X-Ref

return: mixed|null

getValueEvenIfError()   X-Ref

return: mixed

setStyle($style)   X-Ref

param: Style|null $style

getStyle()   X-Ref

return: Style

getType()   X-Ref

return: int|null

setType($type)   X-Ref

param: int $type

detectType($value)   X-Ref
Get the current value type

param: mixed|null $value
return: int

isBoolean()   X-Ref

return: bool

isEmpty()   X-Ref

return: bool

isNumeric()   X-Ref

return: bool

isString()   X-Ref

return: bool

isDate()   X-Ref

return: bool

isError()   X-Ref

return: bool

__toString()   X-Ref

return: string