 | Up one level
| |
 | tests/
| |
 | upgrade/
| |
 | bank.php [source] [597 lines] | More object oriented wrappers around parts of the Moodle question bank. In due course, I expect that the question bank will be converted to a fully object oriented structure, at which point this file can be a starting point. |
 | datalib.php [source] [1980 lines] | Code for loading and saving question attempts to and from the database. Note that many of the methods of this class should be considered private to the question engine. They should be accessed through the {@link question_engine} class. For example, you should call {@link question_engine::save_questions_usage_by_activity()} rather than {@link question_engine_data_mapper::insert_questions_usage_by_activity()}. The exception to this is some of the reporting methods, like {@link question_engine_data_mapper::load_attempts_at_question()}. |
 | lib.php [source] [1106 lines] | This defines the core classes of the Moodle question engine. |
 | questionattempt.php [source] [1817 lines] | This file defines the question attempt class, and a few related classes. |
 | questionattemptstep.php [source] [749 lines] | This file defines the question attempt step class, and a few related classes. |
 | questionusage.php [source] [1120 lines] | This file defines the question usage class, and a few related classes. |
 | renderer.php [source] [496 lines] | Renderers for outputting parts of the question engine. |
 | states.php [source] [464 lines] | This defines the states a question can be in. |
 | statisticslib.php [source] [51 lines] | Functions common to the question usage statistics code. |
 | upgrade.txt [source] [66 lines] | |