diff --git a/question/type/ddimageortext/backup/moodle2/restore_qtype_ddwtos_plugin.class.php b/question/type/ddimageortext/backup/moodle2/restore_qtype_ddwtos_plugin.class.php index 786ec45e5cd..1676ddbb227 100755 --- a/question/type/ddimageortext/backup/moodle2/restore_qtype_ddwtos_plugin.class.php +++ b/question/type/ddimageortext/backup/moodle2/restore_qtype_ddwtos_plugin.class.php @@ -124,7 +124,7 @@ class restore_qtype_ddwtos_plugin extends restore_qtype_plugin { /** * Return the contents of this qtype to be processed by the links decoder */ - static public function define_decode_contents() { + public static function define_decode_contents() { $contents = array(); diff --git a/question/type/ddimageortext/edit_ddwtos_form.php b/question/type/ddimageortext/edit_ddwtos_form.php index f840a6ef919..fd2273b71b1 100755 --- a/question/type/ddimageortext/edit_ddwtos_form.php +++ b/question/type/ddimageortext/edit_ddwtos_form.php @@ -37,7 +37,7 @@ require_once($CFG->dirroot . '/question/type/gapselect/edit_form_base.php'); * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class qtype_ddwtos_edit_form extends qtype_gapselect_edit_form_base { - function qtype() { + public function qtype() { return 'ddwtos'; } diff --git a/question/type/ddimageortext/questiontype.php b/question/type/ddimageortext/questiontype.php index 3bda33afea6..c990afab802 100755 --- a/question/type/ddimageortext/questiontype.php +++ b/question/type/ddimageortext/questiontype.php @@ -110,7 +110,7 @@ class qtype_ddwtos extends qtype_gapselect_base { return $question; } - function export_to_xml($question, $format, $extra = null) { + public function export_to_xml($question, $format, $extra = null) { $output = ''; $output .= ' ' . $question->options->shuffleanswers . "\n";