|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| get_questions_from_categories ($categoryids, $extraconditions, $extraparams=array()) | |
Class for loading questions according to various criteria.
| get_questions_from_categories | ( | $ | categoryids, |
| $ | extraconditions, | ||
| $ | extraparams = array() |
||
| ) |
Get the ids of all the questions in a list of categoryies.
| array | $categoryids | either a categoryid, or a comma-separated list category ids, or an array of them. |
| string | $extraconditions | extra conditions to AND with the rest of the where clause. Must use named parameters. |
| array | $extraparams | any parameters used by $extraconditions. |