Class helper of qbank_deletequestion.
More...
|
static | delete_questions (array $questionids, bool $deleteallversions) |
| Delete questions has (single/multiple) version.
|
|
static | get_delete_confirmation_message (array $questionids, bool $deleteallversions) |
| Get the confirmation message of delete question.
|
|
Class helper of qbank_deletequestion.
- Copyright
- 2023 The Open University
- Since
- Moodle 4.2
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ delete_questions()
static qbank_deletequestion\helper::delete_questions |
( |
array | $questionids, |
|
|
bool | $deleteallversions ) |
|
static |
Delete questions has (single/multiple) version.
- Parameters
-
array | $questionids | List of questionid. |
bool | $deleteallversions | Delete all question version or not. |
◆ get_delete_confirmation_message()
static qbank_deletequestion\helper::get_delete_confirmation_message |
( |
array | $questionids, |
|
|
bool | $deleteallversions ) |
|
static |
Get the confirmation message of delete question.
- Parameters
-
array | $questionids | List of id questions. |
bool | $deleteallversions | Delete all question version or not. |
- Return values
-
array | List confirmation message. |
The documentation for this class was generated from the following file: