Skip to content

mnarvaezm/tool_exelearning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tool_exelearning

Admin tool for importing SCORM packages exported from eXeLearning into Moodle.

Requirements

  • Moodle 4.4 to 5.3.
  • PHP 8.1 or later.
  • mod_scorm and mod_resource enabled.

The plugin intentionally requires Moodle 4.4 because the code uses PHP 8.1 syntax such as new in parameter initializers.

What It Does

  • Uploads an eXeLearning SCORM .zip package.
  • Detects each page in imsmanifest.xml.
  • Creates a Moodle course or adds activities to an existing course.
  • Imports pages with SCORM-trackable iDevices as SCORM activities.
  • Imports the remaining pages as HTML resource activities.
  • Stores a page map so later imports can update existing activities in place.
  • Queues large imports as adhoc tasks and exposes a status page.

Permissions

  • tool/exelearning:use: use the import wizard.
  • tool/exelearning:overwrite: update a previously imported eXeLearning course.

The import wizard can be opened from category navigation when the user has the capability in that category. Background job status and cancellation are checked against the job owner or the most specific course/category context recorded in the job.

Safety Limits

The package validator rejects unsafe paths, missing manifests, packages without content.xml, oversized compressed files, and oversized uncompressed archives. Manifest file references are restricted to package-relative paths.

Verification

Recommended checks before release:

moodle-plugin-ci phpcs public/admin/tool/exelearning
moodle-plugin-ci validate public/admin/tool/exelearning
moodle-plugin-ci mustache public/admin/tool/exelearning
moodle-plugin-ci phpunit public/admin/tool/exelearning
moodle-plugin-ci behat public/admin/tool/exelearning

About

Moodle admin tool for importing and updating courses from SCORM packages generated with eXeLearning 4.0 and later.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages