Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
aicclib.php File Reference

Functions

 get_scorm_default (&$userdata, $scorm, $scoid, $attempt, $mode)
 Sets up $userdata array and default values for AICC package.
 
 scorm_add_time ($a, $b)
 functions used by AICC packages.
 
 scorm_aicc_confirm_hacp_session ($hacpsession)
 Check the hacp_session for whether it is valid.
 
 scorm_aicc_generate_simple_sco ($scorm)
 generate a simple single activity AICC object structure to wrap around and externally linked AICC package URL
 
 scorm_aicc_get_hacp_session ($scormid)
 Given a scormid creates an AICC Session record to allow HACP.
 
 scorm_forge_cols_regexp ($columns, $remodule='(".*")?,')
 Given a colums array return a string containing the regular expression to match the columns in a text row.
 
 scorm_get_aicc_columns ($row, $mastername='system_id')
 Take the header row of an AICC definition file and returns sequence of columns and a pointer to the sco identifier column.
 
 scorm_parse_aicc (&$scorm)
 Sets up AICC packages Called whenever package changes.