22 $row = $DIC->database()->fetchAssoc($DIC->database()->queryF(
23 "SELECT COUNT(question_type_id) cnt FROM qpl_qst_type WHERE ctrl_class = %s",
36 return 'ilasqquestionauthoring';
59 $row = $DIC->database()->fetchAssoc($DIC->database()->queryF(
60 "SELECT COUNT(question_id) cnt FROM qpl_questions WHERE obj_fi = %s AND title = %s",
61 array(
'integer',
'text'),
62 array($parentObjectId, $questionTitle)
65 return $row[
'cnt'] > 0;
determineQuestionTypeByQtiItem(ilQTIItem $qtiItem)
fetchNextAuthoringCommandClass($nextClass)
questionTitleExists($parentObjectId, $questionTitle)