Source Location: /scorm.lib.php
This file is a container for functions related to SCORM and other standard or common course content types. It might later become a class instead of a functions library, as several components are likely to be re-used for different content types.
array get_scorm_paths_from_dir(
string $basedir, string $curdir, array &$attribute)
[line 118]
This function gets a list of scorm paths located in a given directory
[ Top ]
string get_scorm_version(
string $path)
[line 186]
Detects the SCORM version from an imsmanifest.xml file
[ Top ]
boolean removescormDir(
string $dir)
[line 39]
Delete a scorm directory (check for imsmanifest and if found, deletes the related rows in scorm tables also)
[ Top ]
boolean scorm_delete(
string $file)
[line 97]
This function removes a directory if it exists
[ Top ]