Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
78.95% |
15 / 19 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /* |
3 | * This program is free software; you can redistribute it and/or |
4 | * modify it under the terms of the GNU General Public License |
5 | * as published by the Free Software Foundation; under version 2 |
6 | * of the License (non-upgradable). |
7 | * |
8 | * This program is distributed in the hope that it will be useful, |
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 | * GNU General Public License for more details. |
12 | * |
13 | * You should have received a copy of the GNU General Public License |
14 | * along with this program; if not, write to the Free Software |
15 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
16 | * |
17 | * Copyright (c) 2013 (original work) Open Assessment Technologies SA (under the project TAO-PRODUCT); |
18 | * |
19 | * |
20 | */ |
21 | |
22 | echo '<?xml version="1.0" encoding="UTF-8"?>'?> |
23 | <assessmentItem |
24 | <?php foreach(get_data('namespaces') as $name => $uri):?> |
25 | <?php if($name):?> |
26 | xmlns:<?=$name?>="<?=$uri?>" |
27 | <?php else:?> |
28 | xmlns="<?=$uri?>" |
29 | <?php endif;?> |
30 | <?php endforeach;?> |
31 | <?=$xsi?>schemaLocation="<?=get_data('schemaLocations')?>" |
32 | <?=get_data('attributes')?>> |
33 | |
34 | <?=get_data('responses')?> |
35 | |
36 | <?=get_data('outcomes')?> |
37 | |
38 | <?=get_data('stylesheets')?> |
39 | |
40 | <itemBody<?php if(get_data('class')): ?> class="<?=get_data('class')?>"<?php endif;?> <?php if(get_data('bodyAttributes')): echo get_data('bodyAttributes'); endif;?>> |
41 | <?=get_data('body')?> |
42 | </itemBody> |
43 | |
44 | <?=get_data('renderedResponseProcessing')?> |
45 | |
46 | <?=get_data('feedbacks')?> |
47 | |
48 | <?=get_data('apipAccessibility')?> |
49 | </assessmentItem> |