"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "4839e02e1197a2d107ff1dea39bf2cf3",
+ "content-hash": "ac1f71451c93880e9dcc8d96a5d27041",
"packages": [],
"packages-dev": [],
"aliases": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
- "php": ">=7.3"
+ "php": ">=7.3",
+ "ext-mbstring": "*"
},
"platform-dev": [],
"plugin-api-version": "2.1.0"
$v = '3rd';
}
+ if ($this->getReference() === $this->getOrganization()) {
+ $this->setOrganization($this->getOrganization() . '_ORG');
+ }
+
return '<?xml version="1.0" standalone="no" ?>
<manifest identifier="' . $this->_escape($this->getManifestID()) . '" version="1.3"
xmlns="http://www.imsglobal.org/xsd/imscp_v1p1"
*/
protected function _render12()
{
+ if ($this->getReference() === $this->getOrganization()) {
+ $this->setOrganization($this->getOrganization() . '_ORG');
+ }
+
$res = '<?xml version="1.0" encoding="UTF-8"?>
<manifest
xmlns="http://www.imsproject.org/xsd/imscp_rootv1p1p2"
<organizations default="' . $this->_escapeAttr($this->getOrganization()) . '">
<organization identifier="' . $this->_escapeAttr($this->getOrganization()) . '" structure="hierarchical">
<title>' . $this->_escape($this->getTitle()) . '</title>
- <item identifier="' . $this->_escapeAttr($this->getReference()) . '" identifierref="' . $this->_escapeAttr($this->getReference()) . '" isvisible="true">
+ <item identifier="' . $this->_escapeAttr($this->getReference()) . '" identifierref="' . $this->_escapeAttr($this->getReference()) . '_RES" isvisible="true">
<title>' . $this->_escape($this->getTitle()) . '</title>
</item>
</organization>
</organizations>
<resources>
- <resource type="webcontent" adlcp:scormtype="sco" identifier="' . $this->_escapeAttr($this->getReference()) . '" href="' . $this->getStart() . '">
+ <resource type="webcontent" adlcp:scormtype="sco" identifier="' . $this->_escapeAttr($this->getReference()) . '_RES" href="' . $this->getStart() . '">
<file href="' . $this->getStart() . '"/>
</resource>
</resources>