MDL-53638 mod_feedback: change items classes
commitc83c05223031f11f03fa99b1e177640e6b10f173
authorMarina Glancy <marina@moodle.com>
Sat, 9 Apr 2016 13:56:06 +0000 (9 21:56 +0800)
committerMarina Glancy <marina@moodle.com>
Wed, 27 Apr 2016 05:28:44 +0000 (27 13:28 +0800)
tree34839241f798d08094344ec716a97d6221dcce66
parent97d71cbc3afb3207da2270151c2f16ef22c5fab8
MDL-53638 mod_feedback: change items classes

remove duplication by creating methods in the parent class
delete unused methods
add new method complete_form_element() that hooks into the moodleform
12 files changed:
mod/feedback/item/captcha/lib.php
mod/feedback/item/feedback_item_class.php
mod/feedback/item/feedback_item_form_class.php
mod/feedback/item/info/lib.php
mod/feedback/item/label/lib.php
mod/feedback/item/multichoice/lib.php
mod/feedback/item/multichoice/multichoice_form.php
mod/feedback/item/multichoicerated/lib.php
mod/feedback/item/multichoicerated/multichoicerated_form.php
mod/feedback/item/numeric/lib.php
mod/feedback/item/textarea/lib.php
mod/feedback/item/textfield/lib.php