I would like to programmatically create quiz in a section of a specific course and import questions in moodle xml format and add in the quiz I just created. What is the best way to approach this problem? Insert into tables directly?
Inherit moodle classes? If so, what are the classes I should be concentrating on?
Moodle 2.5.1+ (Build: 20130808)