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]

Report table class.

Copyright: 2019 Paul Holden (pholden@greenhead.ac.uk)
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 194 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

report_table:: (8 methods):
  __construct()
  init_sql()
  get_sql_sort()
  col_timemodified()
  col_fullname()
  col_plugin()
  col_value()
  col_oldvalue()


Class: report_table  - X-Ref

Report table class.

__construct(string $search)   X-Ref
Constructor

param: string $search

init_sql()   X-Ref
Initializes table SQL properties

return: void

get_sql_sort()   X-Ref
Cross DB text-compatible sorting for value/oldvalue fields

return: string

col_timemodified(\stdClass $row)   X-Ref
Format report timemodified field

param: stdClass $row
return: string

col_fullname($row)   X-Ref
Format fullname field

param: stdClass $row
return: string

col_plugin(\stdClass $row)   X-Ref
Format report plugin field

param: stdClass $row
return: string

col_value(\stdClass $row)   X-Ref
Format report value field

param: stdClass $row
return: string

col_oldvalue(\stdClass $row)   X-Ref
Format report old value field

param: stdClass $row
return: string