Closed (fixed)
Project:
Mechanical Tutor
Version:
7.x-1.x-dev
Component:
General code
Priority:
Major
Category:
Feature request
Assigned:
Reporter:
Created:
25 Nov 2012 at 10:00 UTC
Updated:
9 Dec 2012 at 11:40 UTC
In a future version of Mechanical Tutor, it should be possible to view old questions. This is not possible at the moment, since the question object takes care of building all the necessary variable itself.
Let the calling function collect the question variables, and pass these as a parameter to the relevant methods. Then other callers can fetch old question variables, and pass these instead.
Refactor the code.
Update the example questions.
–
Comments
Comment #1
itangalo commentedFixed and committed.
Now all the fetching of question variables are initiated by the caller of the function, not the function itself.