public/main/lp/aicc_api.php
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Message to log
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.suspend_data' : suspend_data = val; break;
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$who = addslashes(api_get_person_name($_user['firstName'], $_user['lastName']));
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.core.lesson_status' :
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Event type (load, unload, click, keyDown, ...)
- Exclude checks
Variable "scorm_debug" is not in valid camel caps format Open
Open
?>var scorm_logs=<?php echo empty($oLP->scorm_debug) ? '0' : '3'; ?>; //debug log level for SCORM. 0 = none, 1=light, 2=a lot, 3=all - displays logs in log frame
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$who = addslashes(api_get_person_name($_user['firstName'], $_user['lastName']));
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.core.session_time' : session_time = val; break;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Chamilo ID for the current item
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.score.scaled' : score = val ; break; //1.3
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.core.score.max' : max = val; break;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.core.score.min' : min = val; break;
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$who = addslashes(api_get_person_name($_user['firstName'], $_user['lastName']));
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param element Element that needs an event attached
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Action to be taken
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Item id to update
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Display mode (absolute 'abs' or percentage '%').Defaults to %
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string This parameter can be a string specifying the next
- Exclude checks
Variable "use_anonymous" is not in valid camel caps format Open
Open
$use_anonymous = true;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.success_status' : success_status = val; break; //1.3
- Exclude checks
Closing brace indented incorrectly; expected 4 spaces, found 0 Open
Open
} ?>
- Exclude checks
Variable "autocomplete_when_80pct" is not in valid camel caps format Open
Open
<?php if ($autocomplete_when_80pct) {
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Number of items in total
- Exclude checks
Variable "progress_bar_mode" is not in valid camel caps format Open
Open
var lms_progress_bar_mode = '<?php echo $oLP->progress_bar_mode; ?>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Priority (0 for top priority, 3 for lowest)
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Priority (0 for top priority, 3 for lowest)
- Exclude checks
Variable "autocomplete_when_80pct" is not in valid camel caps format Open
Open
$autocomplete_when_80pct = 0;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string used in addEventListener
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.core.score.raw' : score= val ; break;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
case 'cmi.completion_status' : lesson_status = val; break; //1.3
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
var lms_user_id = '<?php echo $_user['user_id']; ?>';
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
$who = addslashes(api_get_person_name($_user['firstName'], $_user['lastName']));
- Exclude checks
Variable "force_commit" is not in valid camel caps format Open
Open
if (1 == $oLP->force_commit) {
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
result='<?php echo $_user['user_id']; ?>';
- Exclude checks
Closing brace indented incorrectly; expected 8 spaces, found 10 Open
Open
} ?>
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Function name (the event handler)
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param string Message to log
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* @param integer Number of completed items
- Exclude checks
Variable "_user" is not in valid camel caps format Open
Open
result='<?php echo $_user['user_id']; ?>';
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
?> break;
- Exclude checks
Spaces must be used for alignment; tabs are not allowed Open
Open
* item (like 'next', 'previous', 'first' or 'last') or the id to the next item
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 10 Open
Open
} ?>
- Exclude checks
Closing brace indented incorrectly; expected 8 spaces, found 10 Open
Open
} ?>
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 10 Open
Open
<?php
- Exclude checks
Line indented incorrectly; expected 16 spaces, found 14 Open
Open
?>
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}?>
- Exclude checks
Line indented incorrectly; expected 12 spaces, found 10 Open
Open
?> break;
- Exclude checks
Closing brace indented incorrectly; expected 4 spaces, found 0 Open
Open
} ?>
- Exclude checks