protected function get_hint_fields($withclearwrong = false, $withshownumpartscorrect = false) { list($repeated, $repeatedoptions) = parent::get_hint_fields($withclearwrong, $withshownumpartscorrect); $repeatedoptions['hintclearwrong']['disabledif'] = array('single', 'eq', 1); $repeatedoptions['hintshownumcorrect']['disabledif'] = array('single', 'eq', 1); return array($repeated, $repeatedoptions); }
protected function get_hint_fields($withclearwrong = false, $withshownumpartscorrect = false) { list($repeated, $repeatedoptions) = parent::get_hint_fields($withclearwrong, $withshownumpartscorrect); $repeated[] = $this->_form->createElement('advcheckbox', 'hintshowchoicefeedback', '', get_string('showeachanswerfeedback', 'qtype_multichoiceset')); return array($repeated, $repeatedoptions); }