40 $this->ignoredContainerObjectTypes = [
'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 73 $res = $this->db->queryF($query, [
'integer',
'integer'], [$this->
getOwnerId(), 0]);
77 while ($row = $this->db->fetchAssoc(
$res)) {
78 $questionIds[] = $row[
'question_id'];
86 foreach ($questionIds as $questionId) {
88 $question->delete($questionId);
getIgnoredContainerObjectTypes()
purgeQuestionIds($questionIds)
setIgnoredContainerObjectTypes($ignoredContainerObjectTypes)
static instantiateQuestion(int $question_id)
__construct(ilDBInterface $db)
$ignoredContainerObjectTypes