Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Functions | |
get_scorm_default (&$userdata, $scorm, $scoid, $attempt, $mode) | |
Sets up $userdata array and default values for SCORM 1.2 . | |
get_scorm_default | ( | & | $userdata, |
$scorm, | |||
$scoid, | |||
$attempt, | |||
$mode ) |
Sets up $userdata array and default values for SCORM 1.2 .
stdClass | $userdata | an empty stdClass variable that should be set up with user values |
object | $scorm | package record |
string | $scoid | SCO Id |
string | $attempt | attempt number for the user |
string | $mode | scorm display mode type |
array | The default values that should be used for SCORM 1.2 package |