MDL-82936 reportbuilder: new APIs for enhancing report rendering. c439e2d3c1cd6a79e0fad4b681d175070c5ae6ec
authorPaul Holden <paulh@moodle.com>
Thu, 27 Feb 2025 13:31:38 +0000 (13:31 +0000)
committerPaul Holden <paulh@moodle.com>
Thu, 6 Mar 2025 14:22:53 +0000 (14:22 +0000)
commitc439e2d3c1cd6a79e0fad4b681d175070c5ae6ec
tree6b10b320284ce06c37ce6296702c72840ecc1163
parent5670447ece698da18e20d0f1984965535487feda
MDL-82936 reportbuilder: new APIs for enhancing report rendering.

We're introducing two new sets of APIs for both custom and system
reports:

* Report actions allow for the definition of an action to belong
  to the report and be rendered alongside the filters button;
* Report info container allows for the definition of content to
  render between the aforementioned action buttons and the table
  content itself
.upgradenotes/MDL-82936-2025022811045697.yml [new file with mode: 0644]
reportbuilder/classes/external/custom_report_exporter.php
reportbuilder/classes/external/report_action_exporter.php [new file with mode: 0644]
reportbuilder/classes/external/system_report_exporter.php
reportbuilder/classes/local/report/base.php
reportbuilder/classes/output/renderer.php
reportbuilder/classes/output/report_action.php [new file with mode: 0644]
reportbuilder/templates/report.mustache
reportbuilder/tests/external/custom_report_exporter_test.php
reportbuilder/tests/external/reports/get_test.php
reportbuilder/tests/external/system_report_exporter_test.php