@@ 403-406 (lines=4) @@ | ||
400 | break; |
|
401 | case 'RESPONSEDECLARATION': |
|
402 | // Retrieve question type |
|
403 | if ("multiple" == $attributes['CARDINALITY']) { |
|
404 | $exercise_info['question'][$current_question_ident]['type'] = MCMA; |
|
405 | $cardinality = 'multiple'; |
|
406 | } |
|
407 | if ("single" == $attributes['CARDINALITY']) { |
|
408 | $exercise_info['question'][$current_question_ident]['type'] = MCUA; |
|
409 | $cardinality = 'single'; |
|
@@ 407-410 (lines=4) @@ | ||
404 | $exercise_info['question'][$current_question_ident]['type'] = MCMA; |
|
405 | $cardinality = 'multiple'; |
|
406 | } |
|
407 | if ("single" == $attributes['CARDINALITY']) { |
|
408 | $exercise_info['question'][$current_question_ident]['type'] = MCUA; |
|
409 | $cardinality = 'single'; |
|
410 | } |
|
411 | //needed for FIB |
|
412 | $current_answer_id = $attributes['IDENTIFIER']; |
|
413 | break; |