You are here

function opigno_scorm_ui_add_cmi_paths in Opigno 7

Get the available CMI paths for the SCORM player.

Invokes the hook_opigno_scorm_ui_register_cmi_paths() on all implementing modules to retrieve data to pass to the SCORM player.

Return value

array

1 call to opigno_scorm_ui_add_cmi_paths()
opigno_scorm_ui_render_player in modules/scorm/ui/opigno_scorm_ui.module
Render a SCORM player for the given SCORM object.

File

modules/scorm/ui/includes/opigno_scorm_ui.player.inc, line 211
Player logic.

Code

function opigno_scorm_ui_add_cmi_paths($scorm_version) {
  $paths = module_invoke_all('opigno_scorm_ui_register_cmi_paths', $scorm_version);
  drupal_alter('opigno_scorm_ui_register_cmi_paths', $paths);
  return $paths;
}