Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

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

(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