Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 15
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<infoControl <?=get_data('attributes')?>>
23    <portableInfoControl infoControlTypeIdentifier="<?=get_data('typeIdentifier')?>" hook="<?=get_data('entryPoint')?>" version="<?=get_data('version')?>" xmlns="http://www.imsglobal.org/xsd/portableInfoControl">
24        <resources>
25            <?php if (count(get_data('libraries'))) :?>
26            <libraries>
27                <?php foreach (get_data('libraries') as $lib) :?>
28                <lib id="<?=$lib?>"/>
29                <?php endforeach;?>
30            </libraries>
31            <?php endif;?>
32        </resources>
33        <?=get_data('serializedProperties')?>
34        <markup xmlns="http://www.w3.org/1999/xhtml">
35            <?=get_data('markup')?>
36        </markup>
37    </portableInfoControl>
38</infoControl>