Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
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