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