◆ get_question_attempt_usage_sql()
static qbank_usage\helper::get_question_attempt_usage_sql |
( |
| ) |
|
|
static |
Get the question attempt usage sql.
The resulting string which represents a sql query has then to be called accompanying a $params array which includes the necessary parameter, the question id.
- Return values
-
◆ get_question_attempts_count_in_quiz()
static qbank_usage\helper::get_question_attempts_count_in_quiz |
( |
int | $questionid, |
|
|
| $quizid = null ) |
|
static |
Get question attempt count for the question.
- Parameters
-
int | $questionid | |
int | $quizid | |
- Return values
-
◆ get_question_bank_usage_sql()
static qbank_usage\helper::get_question_bank_usage_sql |
( |
| ) |
|
|
static |
Get the question bank usage sql.
The resulting string which represents a sql query has then to be called accompanying a $params array which includes the necessary parameters in the correct order which are the question id, then the component and finally the question area.
- Return values
-
◆ get_question_entry_usage_count()
static qbank_usage\helper::get_question_entry_usage_count |
( |
| $question | ) |
|
|
static |
Get the usage count for a question.
- Parameters
-
- Return values
-
◆ get_question_last_used_sql()
static qbank_usage\helper::get_question_last_used_sql |
( |
| ) |
|
|
static |
Get the question last used sql.
- Return values
-
◆ question_usage_sql()
static qbank_usage\helper::question_usage_sql |
( |
| ) |
|
|
static |
Get the sql for usage data.
- Return values
-
The documentation for this class was generated from the following file:
- question/bank/usage/classes/helper.php