Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5.3
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_15_STABLE

      Description

      Every SCORM type has a different API that provides communications from the SCO to Moodle.
      The SCORM 1.2 API has passed ADL test suite many times ago but it may need some bug fix. I say this thing because during SCORM 2004 debugging I fixed some bugs that may be fixed also in 1.2.
      These files (aicc/scorm_12/scorm_13.js.php) are mostly javascript files with a small use of PHP to provide data content.
      SCORM 2004 APIs are defined as a Javascript (ECMAscript as ADL says) DOM object with these 8 methods:
      Initialize("")
      Terminate("")
      GetValue(dataelement)
      SetValue(dataelement,value)
      Commit("")
      GetLastError()
      GetErrorString(errorcode)
      GetDiagnostic(errorcode)
      SCORM 2004 introduces also an attribute call version usually equal to "1.0".

      From Moodle 1.5 I decided to provide the datamodel definition as a multidimensional array and all the methods was rewritten to use the datamodel array to check Gen and Set calls.
      That datamodel definition uses many regular expressions and one the main problems is to define the right regular expression for each datamodel element type.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              danmarsden Dan Marsden
              Reporter:
              upo Roberto Pinna
              Tester:
              Nobody
              Participants:
              Component watchers:
              Damyon Wiese, Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: