Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250613) (541f1569af4)
core_table\dynamic Interface Reference

Interface to identify this table as a table which can be dynamically updated via webservice calls. More...

Inheritance diagram for core_table\dynamic:
core_reportbuilder\table\base_report_table core_reportbuilder\table\custom_report_table core_reportbuilder\table\system_report_table core_reportbuilder\table\custom_report_table_view

Detailed Description

Interface to identify this table as a table which can be dynamically updated via webservice calls.

For a table to be defined as dynamic it must meet the following requirements:

it must be located with a namespaced class of [component]::table::[tablename]

it must define a core_table::local::filter::filterset implementation in [component]\table[tablename]_filterset

it must override the {{guess_base_url}} function and specify a base URL to be used when constructing URLs

it must override the {{get_context}} function to specify the correct context

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

The documentation for this interface was generated from the following file: