I'm new with developing for Moodle. I have a project to create a new question type for SQL queries.
I've used the template provided in this link: https://github.com/jamiepratt/moodle-qtype_TEMPLATE/ and started working from there. I haven't made a lot, just in the edit_myqtype_form to make it look how I want. Now I know that in the questiontype.php file I have to define how to save the forms in save_question_options($question) but I don't know how to even start.
I've looked in other question types to get me started but haven't had luck because I don't understand most of the functions. Can you provide me with a link where it is explained how all this works and how to proceed from here. I have a couple of textboxes and an image to be saved. I'm using Moodle 2.6 version
I hope that I've put this question in the right place.
Thank you in advance.