Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Functions that are not part of a class:

scorm_seq_overall($scoid, $userid, $request, $attempt)   X-Ref
No description

scorm_seq_navigation($scoid, $userid, $request, $attempt=0)   X-Ref
No description

scorm_seq_termination($seq, $userid)   X-Ref
No description

scorm_seq_end_attempt($sco, $userid, $seq)   X-Ref
No description

scorm_seq_is($what, $scoid, $userid, $attempt=0)   X-Ref
No description

scorm_seq_set($what, $scoid, $userid, $attempt=0, $value='true')   X-Ref
No description

scorm_evaluate_condition($rollupruleconds, $sco, $userid)   X-Ref
No description

scorm_check_activity($activity, $userid)   X-Ref
No description

scorm_limit_cond_check($activity, $userid)   X-Ref
No description

scorm_seq_rules_check($sco, $action)   X-Ref
No description

scorm_seq_rule_check($sco, $rule)   X-Ref
No description

scorm_seq_overall_rollup($sco, $userid, $seq)   X-Ref
No description

scorm_seq_measure_rollup($sco, $userid, $attempt = 0)   X-Ref
No description

scorm_seq_objective_rollup($sco, $userid, $attempt = 0)   X-Ref
No description

scorm_seq_objective_rollup_measure($sco, $userid, $attempt = 0)   X-Ref
No description

scorm_seq_objective_rollup_default($sco, $userid, $attempt = 0)   X-Ref
No description

scorm_seq_objective_rollup_rules($sco, $userid, $attempt = 0)   X-Ref
No description

scorm_seq_activity_progress_rollup($sco, $userid, $seq)   X-Ref
No description

scorm_seq_rollup_rule_check($sco, $userid, $action)   X-Ref
No description

scorm_seq_flow_tree_traversal($activity, $direction, $childrenflag, $prevdirection, $seq, $userid, $skip = false)   X-Ref
No description

scorm_seq_flow_activity_traversal($activity, $userid, $direction, $childrenflag, $prevdirection, $seq)   X-Ref
No description

scorm_seq_flow($activity, $direction, $seq, $childrenflag, $userid)   X-Ref
No description

get_scorm_default(&$userdata, $scorm, $scoid, $attempt, $mode)   X-Ref
Sets up $userdata array and default values for SCORM 1.3 .

param: stdClass $userdata an empty stdClass variable that should be set up with user values
param: object $scorm package record
param: string $scoid SCO Id
param: string $attempt attempt number for the user
param: string $mode scorm display mode type
return: array The default values that should be used for SCORM 1.3 package