Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Functions
scorm_12lib.php File Reference

Sets up $userdata array and default values for SCORM 1.2 . More...

Functions

 get_scorm_default (&$userdata, $scorm, $scoid, $attempt, $mode)
 

Detailed Description

Sets up $userdata array and default values for SCORM 1.2 .

Parameters
stdClass$userdataan empty stdClass variable that should be set up with user values
object$scormpackage record
string$scoidSCO Id
string$attemptattempt number for the user
string$modescorm display mode type
Return values
arrayThe default values that should be used for SCORM 1.2 package