Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 400 and 403]

(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