@@ 374-377 (lines=4) @@ | ||
371 | break; |
|
372 | case 'RESPONSEDECLARATION': |
|
373 | // Retrieve question type |
|
374 | if ("multiple" == $attributes['CARDINALITY']) { |
|
375 | $exercise_info['question'][$current_question_ident]['type'] = 'MCMA'; |
|
376 | $cardinality = 'multiple'; |
|
377 | } |
|
378 | if ("single" == $attributes['CARDINALITY']) { |
|
379 | $exercise_info['question'][$current_question_ident]['type'] = 'MCUA'; |
|
380 | $cardinality = 'single'; |
|
@@ 378-381 (lines=4) @@ | ||
375 | $exercise_info['question'][$current_question_ident]['type'] = 'MCMA'; |
|
376 | $cardinality = 'multiple'; |
|
377 | } |
|
378 | if ("single" == $attributes['CARDINALITY']) { |
|
379 | $exercise_info['question'][$current_question_ident]['type'] = 'MCUA'; |
|
380 | $cardinality = 'single'; |
|
381 | } |
|
382 | //needed for FIB |
|
383 | $current_answer_id = $attributes['IDENTIFIER']; |
|
384 | break; |