Go to the source code of this file.
Namespaces |
| namespace | mod |
| | Local Library of functions for module scorm.
|
Variables |
| | $id = optional_param('id', 0, PARAM_INT) |
| | $r = optional_param('r', 0, PARAM_INT) |
| | $redirect = optional_param('redirect', 0, PARAM_BOOL) |
| | $context = get_context_instance(CONTEXT_MODULE, $cm->id) |
| | $completion = new completion_info($course) |
| if($resource->tobemigrated) | $fs = get_file_storage() |
| | $files = $fs->get_area_files($context->id, 'mod_resource', 'content', 0, 'sortorder DESC, id ASC', false) |
| | $displaytype = resource_get_final_display_type($resource) |
Variable Documentation
| $files = $fs->get_area_files($context->id, 'mod_resource', 'content', 0, 'sortorder DESC, id ASC', false) |