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