40 $this->ignoredContainerObjectTypes = array(
'lm');
64 SELECT qpl_questions.question_id 66 INNER JOIN object_data 67 ON object_data.obj_id = qpl_questions.obj_fi 69 WHERE qpl_questions.owner = %s 70 AND qpl_questions.tstamp = %s 75 $questionIds = array();
77 while ($row = $this->db->fetchAssoc(
$res)) {
78 $questionIds[] = $row[
'question_id'];
86 require_once
'Modules/TestQuestionPool/classes/class.assQuestion.php';
88 foreach ($questionIds as $questionId) {
90 $question->delete($questionId);
getIgnoredContainerObjectTypes()
purgeQuestionIds($questionIds)
setIgnoredContainerObjectTypes($ignoredContainerObjectTypes)
__construct(ilDBInterface $db)
static _instantiateQuestion(int $question_id)
$ignoredContainerObjectTypes