Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/mod/scorm/datamodels/aicclib.php File Reference

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)

Function Documentation

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.

Parameters:
string$hacpsessionThe hacpsession value to check (optional). Normally leave this blank and this function will do required_param('sesskey', ...).
Returns:
mixed - false if invalid, otherwise returns record from scorm_aicc_session table.

Definition at line 381 of file aicclib.php.

Here is the call graph for this function:

generate a simple single activity AICC object structure to wrap around and externally linked AICC package URL

Parameters:
object$scormpackage record

Definition at line 404 of file aicclib.php.

Here is the caller graph for this function:

Given a scormid creates an AICC Session record to allow HACP

Parameters:
int$scormid- id from scorm table
Returns:
string hacpsession

Definition at line 355 of file aicclib.php.

Here is the call graph for this function:

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.

Parameters:
array$columnThe header columns
string$remoduleThe regular expression module for a single column
Returns:
string

Definition at line 100 of file aicclib.php.

Here is the caller graph for this function:

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.

Parameters:
string$rowAICC header row
string$masternameAICC sco identifier column
Returns:
mixed

Definition at line 74 of file aicclib.php.

Here is the caller graph for this function:

scorm_parse_aicc ( scorm)

Definition at line 110 of file aicclib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations