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: 230 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: TableStyle  - X-Ref

__construct(string $theme = self::TABLE_STYLE_MEDIUM2)   X-Ref
Create a new Table Style.

param: string $theme (e.g. TableStyle::TABLE_STYLE_MEDIUM2)

getTheme()   X-Ref
Get theme.


setTheme(string $theme)   X-Ref
Set theme.


getShowFirstColumn()   X-Ref
Get show First Column.


setShowFirstColumn(bool $showFirstColumn)   X-Ref
Set show First Column.


getShowLastColumn()   X-Ref
Get show Last Column.


setShowLastColumn(bool $showLastColumn)   X-Ref
Set show Last Column.


getShowRowStripes()   X-Ref
Get show Row Stripes.


setShowRowStripes(bool $showRowStripes)   X-Ref
Set show Row Stripes.


getShowColumnStripes()   X-Ref
Get show Column Stripes.


setShowColumnStripes(bool $showColumnStripes)   X-Ref
Set show Column Stripes.


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


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