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 401 and 402] [Versions 401 and 403]

(no description)

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

Defines 1 class


Class: Column  - X-Ref

__construct($column, ?Table $table = null)   X-Ref
Create a new Column.

param: string $column Column (e.g. A)
param: Table $table Table for this column

getColumnIndex()   X-Ref
Get Table column index as string eg: 'A'.


setColumnIndex($column)   X-Ref
Set Table column index as string eg: 'A'.

param: string $column Column (e.g. A)

getShowFilterButton()   X-Ref
Get show Filter Button.


setShowFilterButton(bool $showFilterButton)   X-Ref
Set show Filter Button.


getTotalsRowLabel()   X-Ref
Get total Row Label.


setTotalsRowLabel(string $totalsRowLabel)   X-Ref
Set total Row Label.


getTotalsRowFunction()   X-Ref
Get total Row Function.


setTotalsRowFunction(string $totalsRowFunction)   X-Ref
Set total Row Function.


getTotalsRowFormula()   X-Ref
Get total Row Formula.


setTotalsRowFormula(string $totalsRowFormula)   X-Ref
Set total Row Formula.


getColumnFormula()   X-Ref
Get column Formula.


setColumnFormula(string $columnFormula)   X-Ref
Set column Formula.


getTable()   X-Ref
Get this Column's Table.


setTable(?Table $table = null)   X-Ref
Set this Column's Table.