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