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 400 and 401]

(no description)

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

Defines 1 class

reports_list:: (8 methods):
  get_report_entity_name()
  initialise()
  can_view()
  get_row_class()
  add_columns()
  add_filters()
  add_actions()
  report_source_valid()


Class: reports_list  - X-Ref

Reports list

get_report_entity_name()   X-Ref
The name of our internal report entity

return: string

initialise()   X-Ref
Initialise the report


can_view()   X-Ref
Ensure we can view the report

return: bool

get_row_class(stdClass $row)   X-Ref
Dim the table row for invalid datasource

param: stdClass $row
return: string

add_columns()   X-Ref
Add columns to report


add_filters()   X-Ref
Add filters to report


add_actions()   X-Ref
Add actions to report


report_source_valid(string $source)   X-Ref
Helper to determine whether given report source is valid (it both exists, and is available)

param: string $source
return: bool