Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

File Size: 219 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 mod/feedback/item/textarea/textarea_form.php

Defines 1 class

feedback_item_textarea:: (9 methods):
  build_editform()
  save_item()
  get_analysed()
  get_printval()
  print_analysed()
  excelprint_item()
  complete_form_element()
  create_value()
  get_analysed_for_external()


Class: feedback_item_textarea  - X-Ref

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

save_item()   X-Ref
No description

get_analysed($item, $groupid = false, $courseid = false)   X-Ref
Helper function for collected data for exporting to excel

param: stdClass $item the db-object from feedback_item
param: int $groupid
param: int $courseid
return: stdClass

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

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_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