Question API
From MoodleDocs
The Question API, which can be divided into the Question bank API and the Question engine API, can be used by activities that want to use questions from the question bank in activities.
At the moment, the Quiz module is the only example of a standard module that does this. (People have been saying wince Moodle 1.6 that the lesson module should be converted to use the question bank!) Also, the documentation is currently in a bit of a mess, but see:
- Question Engine 2, in particular Using the question engine from module. That is reasonably up-to-date.
- Question engine is the old documentation that applies to Moodle 1.9 and before. The information there about the question bank half of the question system is still relevant.