Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400] [Versions 311 and 400] [Versions 39 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

(no description)

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

Defines 1 class

RowDimension:: (7 methods):
  __construct()
  getRowIndex()
  setRowIndex()
  getRowHeight()
  setRowHeight()
  getZeroHeight()
  setZeroHeight()


Class: RowDimension  - X-Ref

__construct($index = 0)   X-Ref
Create a new RowDimension.

param: int $index Numeric row index

getRowIndex()   X-Ref
Get Row Index.


setRowIndex(int $index)   X-Ref
Set Row Index.

return: $this

getRowHeight(?string $unitOfMeasure = null)   X-Ref
Get Row Height.
By default, this will be in points; but this method accepts a unit of measure
argument, and will convert the value to the specified UoM.

return: float

setRowHeight($height, ?string $unitOfMeasure = null)   X-Ref
Set Row Height.

return: $this
param: float $height in points

getZeroHeight()   X-Ref
Get ZeroHeight.


setZeroHeight(bool $zeroHeight)   X-Ref
Set ZeroHeight.

return: $this