Quiz review plugin system

Quiz review plugin system

de Andrew Walbran -
Número de respuestas: 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.
Promedio de valoraciones:Useful (2)
En respuesta a Andrew Walbran

Esta publicación en el foro ha sido borrada

El contenido de esta publicación en el foro ha sido borrado y ya no puede accederse a él.
En respuesta a Usuario eliminado

Re: Quiz review plugin system

de Olli Savolainen -
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.