Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

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

Class for rendering user filters on the course participants page.

Copyright: 2020 Michael Hawkins <michaelh@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 366 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: participants_filter  - X-Ref

Class for rendering user filters on the course participants page.

get_filtertypes()   X-Ref
Get data for all filter types.

return: array

get_enrolmentstatus_filter()   X-Ref
Get data for the enrolment status filter.

return: stdClass|null

get_roles_filter()   X-Ref
Get data for the roles filter.

return: stdClass|null

get_enrolments_filter()   X-Ref
Get data for the roles filter.

return: stdClass|null

get_groups_filter()   X-Ref
Get data for the groups filter.

return: stdClass|null

get_accesssince_filter()   X-Ref
Get data for the accesssince filter.

return: stdClass|null

get_country_filter()   X-Ref
Get data for the country filter

return: stdClass|null

get_keyword_filter()   X-Ref
Get data for the keywords filter.

return: stdClass|null

export_for_template(renderer_base $output)   X-Ref
Export the renderer data in a mustache template friendly format.

param: renderer_base $output Unused.
return: stdClass Data in a format compatible with a mustache template.