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

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

Functions

 get_scorm_default (&$userdata, $scorm, $scoid, $attempt, $mode)
 
 scorm_check_activity ($activity, $userid)
 
 scorm_evaluate_condition ($rollupruleconds, $sco, $userid)
 
 scorm_limit_cond_check ($activity, $userid)
 
 scorm_seq_activity_progress_rollup ($sco, $userid, $seq)
 
 scorm_seq_end_attempt ($sco, $userid, $seq)
 
 scorm_seq_flow ($activity, $direction, $seq, $childrenflag, $userid)
 
 scorm_seq_flow_activity_traversal ($activity, $userid, $direction, $childrenflag, $prevdirection, $seq)
 
 scorm_seq_flow_tree_traversal ($activity, $direction, $childrenflag, $prevdirection, $seq, $userid, $skip=false)
 
 scorm_seq_is ($what, $scoid, $userid, $attempt=0)
 
 scorm_seq_measure_rollup ($sco, $userid, $attempt=0)
 
 scorm_seq_navigation ($scoid, $userid, $request, $attempt=0)
 
 scorm_seq_objective_rollup ($sco, $userid, $attempt=0)
 
 scorm_seq_objective_rollup_default ($sco, $userid, $attempt=0)
 
 scorm_seq_objective_rollup_measure ($sco, $userid, $attempt=0)
 
 scorm_seq_objective_rollup_rules ($sco, $userid, $attempt=0)
 
 scorm_seq_overall ($scoid, $userid, $request, $attempt)
 
 scorm_seq_overall_rollup ($sco, $userid, $seq)
 
 scorm_seq_rollup_rule_check ($sco, $userid, $action)
 
 scorm_seq_rule_check ($sco, $rule)
 
 scorm_seq_rules_check ($sco, $action)
 
 scorm_seq_set ($what, $scoid, $userid, $attempt=0, $value='true')
 
 scorm_seq_termination ($seq, $userid)
 

Detailed Description

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

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.3 package