Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
qbank_deletequestion\helper Class Reference

Static Public Member Functions

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.
 

Member Function Documentation

◆ delete_questions()

static qbank_deletequestion\helper::delete_questions ( array $questionids,
bool $deleteallversions )
static

Delete questions has (single/multiple) version.

Parameters
array$questionidsList of questionid.
bool$deleteallversionsDelete 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$questionidsList of id questions.
bool$deleteallversionsDelete all question version or not.
Return values
arrayList confirmation message.

The documentation for this class was generated from the following file: