Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
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_admin\table\plugin_management_table core_reportbuilder\table\base_report_table core_user\table\participants core_admin\table\activity_management_table core_admin\table\block_management_table core_admin\table\editor_management_table core_admin\table\media_management_table core_admin\table\tool_plugin_management_table editor_tiny\table\plugin_management_table core_reportbuilder\table\custom_report_table core_reportbuilder\table\system_report_table

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: