Go to the source code of this file.
Variables |
| | $id = optional_param('id', '', PARAM_INT) |
| | $a = optional_param('a', '', PARAM_INT) |
| | $organization = optional_param('organization', '', PARAM_INT) |
| | $action = optional_param('action', '', PARAM_ALPHA) |
| | $forcejs = get_config('scorm', 'forcejavascript') |
| | $context = get_context_instance(CONTEXT_COURSE, $course->id) |
| | $contextmodule = get_context_instance(CONTEXT_MODULE, $cm->id) |
| if(isset($SESSION->scorm)) | $strscorms = get_string("modulenameplural", "scorm") |
| | $strscorm = get_string("modulename", "scorm") |
| | $shortname = format_string($course->shortname, true, array('context' => $context)) |
| | $pagetitle = strip_tags($shortname.': '.format_string($scorm->name)) |
if(!empty($action)&&confirm_sesskey()&&has_capability('mod/scorm:deleteownresponses',
$contextmodule)) | $currenttab = 'info' |
| | $attemptstatus = '' |
| | if ($scorm->displayattemptstatus==1) |
| | $scormopen = true |
| | $timenow = time() |
Variable Documentation
| if (isset($SESSION->scorm)) $strscorms = get_string("modulenameplural", "scorm") |
| if (!empty($scorm->timeopen)&&$scorm->timeopen > $timenow) if (!empty($scorm->timeclose)&&$timenow > $scorm->timeclose) if ($scormopen) if(!empty($forcejs)) |