Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/main/common_cartridge/export/src/lib/assesment/CcAssesmentResponseMatref.php

11 lines
470 B

<?php
/* Source: https://github.com/moodle/moodle/blob/MOODLE_310_STABLE/backup/cc/cc_lib/cc_asssesment.php under GNU/GPL license */
class CcAssesmentResponseMatref extends CcAssesmentMatref
{
public function generate(XMLGenericDocument &$doc, DOMNode &$item, $namespace)
{
$node = $doc->appendNewElementNs($item, $namespace, CcQtiTags::MATERIAL_REF);
$doc->appendNewAttributeNs($node, $namespace, CcQtiTags::LINKREFID, $this->linkref);
}
}