|
static | questions_with_references (array $questionids) |
| Return a list of those questions from the list passed in, which are referenced.
|
|
◆ questions_with_references()
static core_question\question_reference_manager::questions_with_references |
( |
array | $questionids | ) |
|
|
static |
Return a list of those questions from the list passed in, which are referenced.
A question is referenced if either:
- There is a question_reference pointing at exactly that version of that question; or
- There is an 'always latest' reference, and the question id is the latest non-draft version of that question_bank_entry.
- Parameters
-
array | $questionids | a list of question ids to check. |
- Return values
-
array | a list of the question ids from the input array which are referenced. |
The documentation for this class was generated from the following file:
- question/classes/question_reference_manager.php