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