Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402] [Versions 402 and 403]

(no description)

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

Defines 2 classes

get:: (2 methods):
  execute_parameters()
  execute()

is:: (1 method):
  execute_returns()


Class: get  - X-Ref

Core table external functions.

execute_parameters()   X-Ref
Describes the parameters for fetching the table html.

return: external_function_parameters

execute(string $component,string $handler,string $uniqueid,array $sortdata,?array $filters = null,?string $jointype = null,?string $firstinitial = null,?string $lastinitial = null,?int $pagenumber = null,?int $pagesize = null,?array $hiddencolumns = null,?bool $resetpreferences = null)   X-Ref
External function to get the table view content.

param: string $component The component.
param: string $handler Dynamic table class name.
param: string $uniqueid Unique ID for the container.
param: array $sortdata The columns and order to sort by
param: array $filters The filters that will be applied in the request.
param: string $jointype The join type.
param: string $firstinitial The first name initial to filter on
param: string $lastinitial The last name initial to filter on
param: int $pagenumber The page number.
param: int $pagesize The number of records.
param: string $jointype The join type.
param: bool $resetpreferences Whether it is resetting table preferences or not.
return: array

Class: is  - X-Ref

execute_returns()   X-Ref
Describes the data returned from the external function.

return: external_single_structure