Quiz review plugin system

Quiz review plugin system

Andrew Walbran tomonidan -
Number of replies: 3
Hello all
I have developed a pluggable review system for the quiz module. It allows there to be several different types of review page provided by plugins, which can then be selected between when creating a quiz.

The attached patch is against CVSHEAD as of 2006-12-10 16:01:01.

We use this in a Moodle installation for a particular client where we use the quiz module for a tool more like a survey, where the review page shows graphs, suggestions and feedback based on the user's responses rather than results as such. This plugin system allows us to keep a separate plugin for that particular quiz while still using the standard review page for other quizzes.

This system could potentially be useful for other Moodle installations where a different type of review page is required for certain quizzes.

New review page plugins can easily be created by placing a PHP file in a certain directory (mod/quiz/reviews/name/review.php) containing a class called review_name (where 'name' is the name of the new review type). This class would typically extend the standard review class review_standard, and override some or all of the methods to change certain parts of the review page.

Feedback is welcome.
O'rtacha reytinglar:Useful (2)
In reply to Andrew Walbran

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Quiz review plugin system

Olli Savolainen tomonidan -
I think this is already achieved in Moodle through setting feedback in some question types (at least multiple choice) and through using the adaptive mode.