/** * Defines the set of locale strings used for JS modules * * @throws coding_exception */ protected function export_locale_js_strings() { global $PAGE; parent::export_locale_js_strings(); $PAGE->requires->string_for_js('correctansweris', 'qtype_omeromultichoice'); $PAGE->requires->string_for_js('answer_text', 'qtype_omeromultichoice'); }
/** * Defines the set of locale strings used for JS modules * * @throws coding_exception */ protected function export_locale_js_strings() { global $PAGE; parent::export_locale_js_strings(); $PAGE->requires->string_for_js('answer_group', 'qtype_omerointeractive'); $PAGE->requires->string_for_js('answer_group_of_rois', 'qtype_omerointeractive'); $PAGE->requires->string_for_js('validation_noroi_per_group', 'qtype_omerointeractive'); $PAGE->requires->string_for_js('answer_group_removed_invalid_rois', 'qtype_omerointeractive'); }