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.

(no description)

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

Defines 1 class


Class: feedback_item_captcha  - X-Ref

build_editform($item, $feedback, $cm)   X-Ref
No description

show_editform()   X-Ref
No description

is_cancelled()   X-Ref
No description

get_data()   X-Ref
No description

save_item()   X-Ref
No description

get_printval($item, $value)   X-Ref
No description

print_analysed($item, $itemnr = '', $groupid = false, $courseid = false)   X-Ref
No description

excelprint_item(&$worksheet, $row_offset,$xls_formats, $item,$groupid, $courseid = false)   X-Ref
No description

get_display_name($item, $withpostfix = true)   X-Ref
Returns the formatted name of the item for the complete form or response view

param: stdClass $item
param: bool $withpostfix
return: string

complete_form_element($item, $form)   X-Ref
Adds an input element to the complete form

param: stdClass $item
param: mod_feedback_complete_form $form

create_value($data)   X-Ref
No description

get_hasvalue()   X-Ref
No description

can_switch_require()   X-Ref
No description

edit_actions($item, $feedback, $cm)   X-Ref
Returns the list of actions allowed on this item in the edit mode

param: stdClass $item
param: stdClass $feedback
param: cm_info $cm
return: action_menu_link[]

get_data_for_external($item)   X-Ref
No description

get_analysed_for_external($item, $groupid = false, $courseid = false)   X-Ref
Return the analysis data ready for external functions.

param: stdClass $item     the item (question) information
param: int      $groupid  the group id to filter data (optional)
param: int      $courseid the course id (optional)
return: array an array of data with non scalar types json encoded