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 400 and 401]

(no description)

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

Defines 1 class


Class: card_view  - X-Ref

Card view dynamic form

get_report()   X-Ref
Return instance of the report using the card view form

return: base

get_context_for_dynamic_submission()   X-Ref
Returns context where this form is used

return: context

check_access_for_dynamic_submission()   X-Ref
Check if current user has access to this form, otherwise throw exception


process_dynamic_submission()   X-Ref
Store the conditions values and operators

return: bool

set_data_for_dynamic_submission()   X-Ref
Load in existing data as form defaults


get_page_url_for_dynamic_submission()   X-Ref
Returns url to set in $PAGE->set_url() when form is being rendered or submitted via AJAX

return: moodle_url

definition()   X-Ref
Card view form definition