Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 402 and 403]
(no description)
File Size: | 575 lines (22 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
scorm_add_time($a, $b) X-Ref |
functions used by AICC packages. |
scorm_get_aicc_columns($row, $mastername='system_id') X-Ref |
Take the header row of an AICC definition file and returns sequence of columns and a pointer to the sco identifier column. param: string $row AICC header row param: string $mastername AICC sco identifier column return: mixed |
scorm_forge_cols_regexp($columns, $remodule='(".*") X-Ref |
Given a colums array return a string containing the regular expression to match the columns in a text row. param: array $column The header columns param: string $remodule The regular expression module for a single column return: string |
scorm_parse_aicc(&$scorm) X-Ref |
Sets up AICC packages Called whenever package changes param: object $scorm instance - fields are updated and changes saved into database return: bool |
scorm_aicc_get_hacp_session($scormid) X-Ref |
Given a scormid creates an AICC Session record to allow HACP param: int $scormid - id from scorm table return: string hacpsession |
scorm_aicc_confirm_hacp_session($hacpsession) X-Ref |
Check the hacp_session for whether it is valid. param: string $hacpsession The hacpsession value to check (optional). Normally leave this blank return: mixed - false if invalid, otherwise returns record from scorm_aicc_session table. |
scorm_aicc_generate_simple_sco($scorm) X-Ref |
generate a simple single activity AICC object structure to wrap around and externally linked AICC package URL param: object $scorm package record |
get_scorm_default(&$userdata, $scorm, $scoid, $attempt, $mode) X-Ref |
Sets up $userdata array and default values for AICC package. 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 AICC package |