From 5a038822df13406c7b6d2a11288c64cdf6108ee1 Mon Sep 17 00:00:00 2001 From: qualitus-dahme Date: Thu, 19 Dec 2024 13:23:25 +0100 Subject: [PATCH] 43275 - SCORM-2004 module import (#8766) * 43275 - SCORM-2004-Lernmodul importieren * 43275 - SCORM-2004-Lernmodul importieren --- .../classes/adlparser/SeqTreeBuilder.php | 17 +++++++++++++++++ .../Scorm2004/classes/ilSCORM13Package.php | 12 ++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/components/ILIAS/Scorm2004/classes/adlparser/SeqTreeBuilder.php b/components/ILIAS/Scorm2004/classes/adlparser/SeqTreeBuilder.php index bec008ab203e..c15d445002f7 100755 --- a/components/ILIAS/Scorm2004/classes/adlparser/SeqTreeBuilder.php +++ b/components/ILIAS/Scorm2004/classes/adlparser/SeqTreeBuilder.php @@ -46,6 +46,23 @@ DAMAGES. */ +require_once("SeqActivity.php"); + +require_once("SeqRule.php"); +require_once("SeqRuleset.php"); + +require_once("SeqCondition.php"); +require_once("SeqConditionSet.php"); + +require_once("SeqObjective.php"); +require_once("SeqObjectiveMap.php"); + +require_once("SeqRollupRule.php"); +require_once("SeqRollupRuleset.php"); + +require_once("ADLAuxiliaryResource.php"); + + class SeqTreeBuilder { public function buildNodeSeqTree(string $file): array diff --git a/components/ILIAS/Scorm2004/classes/ilSCORM13Package.php b/components/ILIAS/Scorm2004/classes/ilSCORM13Package.php index 26c84e6d8328..e5cf0313bf34 100755 --- a/components/ILIAS/Scorm2004/classes/ilSCORM13Package.php +++ b/components/ILIAS/Scorm2004/classes/ilSCORM13Package.php @@ -25,13 +25,13 @@ */ class ilSCORM13Package { - public const DB_ENCODE_XSL = './components/ILIAS/Scorm2004/templates/xsl/op/op-scorm13.xsl'; - public const CONVERT_XSL = './components/ILIAS/Scorm2004/templates/xsl/op/scorm12To2004.xsl'; - public const DB_DECODE_XSL = './components/ILIAS/Scorm2004/templates/xsl/op/op-scorm13-revert.xsl'; - public const VALIDATE_XSD = './vendor/ilias/Scorm2004/xsd/op/op-scorm13.xsd'; + public const DB_ENCODE_XSL = '../components/ILIAS/Scorm2004/templates/xsl/op/op-scorm13.xsl'; + public const CONVERT_XSL = '../components/ILIAS/Scorm2004/templates/xsl/op/scorm12To2004.xsl'; + public const DB_DECODE_XSL = '../components/ILIAS/Scorm2004/templates/xsl/op/op-scorm13-revert.xsl'; + public const VALIDATE_XSD = '../vendor/ilias/Scorm2004/xsd/op/op-scorm13.xsd'; - public const WRAPPER_HTML = './components/ILIAS/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/GenericRunTimeWrapper.htm'; - public const WRAPPER_JS = './components/ILIAS/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/SCOPlayerWrapper.js'; + public const WRAPPER_HTML = '../components/ILIAS/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/GenericRunTimeWrapper.htm'; + public const WRAPPER_JS = '../components/ILIAS/Scorm2004/scripts/converter/GenericRunTimeWrapper1.0_aadlc/SCOPlayerWrapper.js'; private string $packageFolder;