MDL-40313 questionbank: Add question filtering API
authorRay Morris <Ray.Morris@teex.tamu.edu>
Wed, 8 Jan 2014 20:08:40 +0000 (14:08 -0600)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 9 Jan 2014 16:46:42 +0000 (16:46 +0000)
commitefa5155a2a465fa4049e40f78d8eb48fa347931c
treed5179cce3b0ed26ec521ae0c3dd9c26ccfd6e444
parentbbb291b7b71f32345eec8d8d20848cb8f9de7150
MDL-40313 questionbank: Add question filtering API

Add new API for filtering questions, refactoring the options to display
old questions and include subcategories into new
question_bank_search_condition classes. Make the new API pluggable via
local_[pluginname]_get_question_bank_search_conditions.
13 files changed:
lang/en/question.php
mod/quiz/editlib.php
question/classes/bank_search_condition.php [new file with mode: 0755]
question/classes/bank_search_condition_category.php [new file with mode: 0755]
question/classes/bank_search_condition_hide.php [new file with mode: 0755]
question/editlib.php
question/upgrade.txt
question/yui/build/moodle-question-searchform/moodle-question-searchform-debug.js [new file with mode: 0644]
question/yui/build/moodle-question-searchform/moodle-question-searchform-min.js [new file with mode: 0644]
question/yui/build/moodle-question-searchform/moodle-question-searchform.js [new file with mode: 0644]
question/yui/src/searchform/build.json [new file with mode: 0644]
question/yui/src/searchform/js/searchform.js [new file with mode: 0644]
question/yui/src/searchform/meta/searchform.json [new file with mode: 0644]