Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37675

Re: Is it possible to get quiz id in formulation_and_controls (renderer.php) of a question type?

$
0
0
by María José López Monzón.  

Tim, I finally reorganized all the code and modified the database tables to adapt this plugin to Moodle 2.0, but I still can't see the question statement, because there is a problem on line 195 of /mod/quiz/startattempt:

$quba->start_all_questions(
new question_variant_pseudorandom_no_repeats_strategy($variantoffset), $timenow);

I think this has to be with the variant variable, but I can't see how I can use it if it is random and I need some index fixed. Could you give some advice?


Viewing all articles
Browse latest Browse all 37675

Trending Articles