Quiz review plugin system

Quiz review plugin system

Bởi Andrew Walbran -
Số lượng các câu trả lời: 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.
Trung bình điểm đánh giá:Useful (2)
Để phản hồi tới Andrew Walbran

Bài đăng diễn đàn này đã bị xóa

Nội dung của bài đăng trong diễn đàn này đã bị loại bỏ và không thể truy cập được nữa.
Để phản hồi tới Đã xóa người dùng

Re: Quiz review plugin system

Bởi 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.