Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
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:

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: