Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

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

Defines 1 class

task_logs:: (6 methods):
  initialise()
  can_view()
  get_name()
  add_columns()
  add_filters()
  add_actions()


Class: task_logs  - X-Ref

Task logs system report class implementation

initialise()   X-Ref
Initialise report, we need to set the main table, load our entities and set columns/filters


can_view()   X-Ref
Validates access to view this report

return: bool

get_name()   X-Ref
Get the visible name of the report

return: string

add_columns()   X-Ref
Adds the columns we want to display in the report

They are all provided by the entities we previously added in the {@see initialise} method, referencing each by their
unique identifier

add_filters()   X-Ref
Adds the filters we want to display in the report

They are all provided by the entities we previously added in the {@see initialise} method, referencing each by their
unique identifier

add_actions()   X-Ref
Add the system report actions. An extra column will be appended to each row, containing all actions added here

Note the use of ":id" placeholder which will be substituted according to actual values in the row