|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Functions | |
| scorm_add_time ($a, $b) | |
| scorm_get_aicc_columns ($row, $mastername='system_id') | |
| scorm_forge_cols_regexp ($columns, $remodule='(".*")?,') | |
| scorm_parse_aicc ($scorm) | |
| scorm_aicc_get_hacp_session ($scormid) | |
| scorm_aicc_confirm_hacp_session ($hacpsession) | |
| scorm_aicc_generate_simple_sco ($scorm) | |
| scorm_add_time | ( | $ | a, |
| $ | b | ||
| ) |
Definition at line 17 of file aicclib.php.
| scorm_aicc_confirm_hacp_session | ( | $ | hacpsession | ) |
Check the hacp_session for whether it is valid.
| string | $hacpsession | The hacpsession value to check (optional). Normally leave this blank and this function will do required_param('sesskey', ...). |
Definition at line 381 of file aicclib.php.

| scorm_aicc_generate_simple_sco | ( | $ | scorm | ) |
generate a simple single activity AICC object structure to wrap around and externally linked AICC package URL
| object | $scorm | package record |
Definition at line 404 of file aicclib.php.

| scorm_aicc_get_hacp_session | ( | $ | scormid | ) |
Given a scormid creates an AICC Session record to allow HACP
| int | $scormid | - id from scorm table |
Definition at line 355 of file aicclib.php.

| 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.
| array | $column | The header columns |
| string | $remodule | The regular expression module for a single column |
Definition at line 100 of file aicclib.php.

| 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.
| string | $row | AICC header row |
| string | $mastername | AICC sco identifier column |
Definition at line 74 of file aicclib.php.

| scorm_parse_aicc | ( | $ | scorm | ) |
Definition at line 110 of file aicclib.php.

