public/main/exercise/exercise_report.php
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$parameters['exerciseId'] = $exercise_id;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exerciseExists = $objExerciseTmp->read($exercise_id);
- Exclude checks
Variable "lp_item_view_id" is not in valid camel caps format Open
Open
$lp_item_view_id = (int) $track_exercise_info['orig_lp_item_view_id'];
- Exclude checks
Variable "my_comments" is not in valid camel caps format Open
Open
$my_comments = $_POST['comments_'.$questionId] ?? '';
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$oldResultDisabled = $objExerciseTmp->results_disabled;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExerciseTmp->results_disabled = RESULT_DISABLE_SHOW_SCORE_AND_EXPECTED_ANSWERS;
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$track_exercise_info,
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
foreach ($group_list as $group) {
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
'editoptions' => ['value' => $group_parameters],
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$exerciseId = $track_exercise_info['exe_exo_id'];
- Exclude checks
Variable "comments_exist" is not in valid camel caps format Open
Open
$comments_exist = false;
- Exclude checks
Variable "lp_item_view_id" is not in valid camel caps format Open
Open
WHERE iid = $lp_item_view_id";
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
api_get_path(WEB_CODE_PATH).'exercise/recalculate_all.php?'.api_get_cidreq()."&exercise=$exercise_id"
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "exe_id" is not in valid camel caps format Open
Open
ExerciseLib::deleteExerciseAttempt($exe_id);
- Exclude checks
Variable "exe_id" is not in valid camel caps format Open
Open
$exe_id = (int) $_GET['id'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "my_post_info" is not in valid camel caps format Open
Open
$post_content_id[] = isset($my_post_info[1]) ? $my_post_info[1] : null;
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
header('Location: '.api_get_path(WEB_CODE_PATH).'exercise/exercise_show.php?id='.$id.'&student='.$student_id.'&'.api_get_cidreq());
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
if (!empty($group_parameters)) {
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model = [
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$lpItemId = $track_exercise_info['orig_lp_item_id'];
- Exclude checks
Variable "my_post_info" is not in valid camel caps format Open
Open
$questionListInPost[] = $my_post_info[1];
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$track_exercise_info['exe_id'],
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
Open
$sql = "UPDATE $TBL_TRACK_EXERCISES SET status = ''
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit) {
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
),
- Exclude checks
Variable "filter_user" is not in valid camel caps format Open
Open
if (UserManager::userIsBossOfStudent(api_get_user_id(), $filter_user)) {
- Exclude checks
Variable "TBL_TRACK_ATTEMPT" is not in valid camel caps format Open
Open
$TBL_TRACK_ATTEMPT,
- Exclude checks
Variable "propagate_neg" is not in valid camel caps format Open
Open
if (!$objExerciseTmp->propagate_neg && $marks < 0) {
- Exclude checks
Variable "exe_id" is not in valid camel caps format Open
Open
if (!empty($exe_id)) {
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
$student_id,
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit && 'learnpath' != $origin) {
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "filter_user" is not in valid camel caps format Open
Open
if (api_is_student_boss() && !empty($filter_user)) {
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
$is_tutor = api_is_allowed_to_edit(true);
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$track_exercise_info = ExerciseLib::get_exercise_track_exercise_info($id);
- Exclude checks
Variable "my_post_info" is not in valid camel caps format Open
Open
if ('comments' === $my_post_info[0]) {
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$track_exercise_info['exe_id'],
- Exclude checks
Variable "filter_user" is not in valid camel caps format Open
Open
$filter_user = isset($_REQUEST['filter_by_user']) ? (int) $_REQUEST['filter_by_user'] : null;
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
Open
$TBL_TRACK_EXERCISES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
$student_id = $track_exercise_info['exe_user_id'];
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$lp_item_view_id = (int) $track_exercise_info['orig_lp_item_view_id'];
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$track_exercise_info['exe_id'],
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExerciseTmp->results_disabled = $oldResultDisabled;
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExerciseTmp->results_disabled = $oldResultDisabled;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id,
- Exclude checks
Variable "lp_item_view_id" is not in valid camel caps format Open
Open
$lp_item_view_id
- Exclude checks
Variable "exe_id" is not in valid camel caps format Open
Open
$exe_id = (int) $_GET['did'];
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
header('Location: exercise_report.php?'.api_get_cidreq().'&exerciseId='.$exercise_id);
- Exclude checks
Variable "filter_user" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_exercise_results&exerciseId='.$exercise_id.'&filter_by_user='.$filter_user.'&'.api_get_cidreq();
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
'value' => $group_parameters,
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit) {
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
($is_allowedToEdit || $is_tutor || $allowCoachFeedbackExercises)
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$lp_id = $track_exercise_info['orig_lp_id'];
- Exclude checks
Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format Open
Open
$sql = "UPDATE $TBL_TRACK_EXERCISES
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
$lp = new learnpath($lp, api_get_course_info(), $student_id);
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if ($allowCoachFeedbackExercises && api_is_coach($sessionId, $course_id)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = $track_exercise_info['session_id'];
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id = $track_exercise_info['orig_lp_id'];
- Exclude checks
Variable "key_value" is not in valid camel caps format Open
Open
foreach ($_POST as $key_index => $key_value) {
- Exclude checks
Variable "my_post_info" is not in valid camel caps format Open
Open
$my_post_info = explode('_', $key_index);
- Exclude checks
Variable "comments_exist" is not in valid camel caps format Open
Open
$comments_exist = true;
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
$student_id,
- Exclude checks
Variable "pass_percentage" is not in valid camel caps format Open
Open
$objExerciseTmp->pass_percentage
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$actions .= '<a id="export_opener" href="'.api_get_self().'?export_report=1&exerciseId='.$exercise_id.'" >'.
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
$group_parameters = [
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
$group_parameters[] = $group['iid'].':'.$group['name'];
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
$group_parameters = implode(';', $group_parameters);
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
$is_allowedToEdit = api_is_allowed_to_edit(null, true) ||
- Exclude checks
Variable "TBL_LP_ITEM_VIEW" is not in valid camel caps format Open
Open
$TBL_LP_ITEM_VIEW = Database::get_course_table(TABLE_LP_ITEM_VIEW);
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit) {
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
if (empty($track_exercise_info)) {
- Exclude checks
Variable "post_content_id" is not in valid camel caps format Open
Open
$post_content_id[] = isset($my_post_info[1]) ? $my_post_info[1] : null;
- Exclude checks
Variable "pass_percentage" is not in valid camel caps format Open
Open
if (!empty($objExerciseTmp->pass_percentage)) {
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$actions .= '<a href="live_stats.php?'.api_get_cidreq().'&exerciseId='.$exercise_id.'">'.
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_exercise_results&exerciseId='.$exercise_id.'&filter_by_user='.$filter_user.'&'.api_get_cidreq();
- Exclude checks
Variable "TBL_TRACK_ATTEMPT" is not in valid camel caps format Open
Open
$TBL_TRACK_ATTEMPT = Database::get_main_table(TABLE_STATISTIC_TRACK_E_ATTEMPT);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id
- Exclude checks
Variable "my_comments" is not in valid camel caps format Open
Open
'teacher_comment' => $my_comments,
- Exclude checks
Variable "TBL_TRACK_ATTEMPT" is not in valid camel caps format Open
Open
FROM '.$TBL_TRACK_ATTEMPT.' WHERE exe_id = '.$id.'
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$oldResultDisabled = $objExerciseTmp->results_disabled;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$actions .= '<a href="stats.php?'.api_get_cidreq().'&exerciseId='.$exercise_id.'">'.
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if (($is_allowedToEdit || $is_tutor || api_is_coach()) &&
- Exclude checks
Variable "exe_id" is not in valid camel caps format Open
Open
WHERE exe_id = $exe_id AND status = 'incomplete'";
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
if ($objExerciseTmp->read($exercise_id)) {
- Exclude checks
Variable "_course" is not in valid camel caps format Open
Open
$_course = api_get_course_info();
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$locked = api_resource_is_locked_by_gradebook($exercise_id, LINK_EXERCISE);
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
($is_allowedToEdit || $is_tutor || $allowCoachFeedbackExercises)
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
if (!empty($lp_id) && !empty($lpItemId)) {
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$actions .= '<a class="btn btn--plain" href="question_stats.php?'.api_get_cidreq().'&id='.$exercise_id.'">'.
- Exclude checks
Variable "group_list" is not in valid camel caps format Open
Open
$group_list = GroupManager::get_group_list();
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
if (empty($exercise_id)) {
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$session_id = $track_exercise_info['session_id'];
- Exclude checks
Variable "key_index" is not in valid camel caps format Open
Open
foreach ($_POST as $key_index => $key_value) {
- Exclude checks
Variable "action_links" is not in valid camel caps format Open
Open
$action_links = '';
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
if (!empty($exercise_id)) {
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$student_id = $track_exercise_info['exe_user_id'];
- Exclude checks
Variable "post_content_id" is not in valid camel caps format Open
Open
$post_content_id = [];
- Exclude checks
Variable "student_id" is not in valid camel caps format Open
Open
$student_id,
- Exclude checks
Variable "group_parameters" is not in valid camel caps format Open
Open
$group_parameters = implode(';', $group_parameters);
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
'Not validated'
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id = isset($_REQUEST['exerciseId']) ? (int) $_REQUEST['exerciseId'] : (isset($_GET['id']) ? (int) $_GET['id'] : 0);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id
- Exclude checks
Variable "track_exercise_info" is not in valid camel caps format Open
Open
$exeWeighting = $track_exercise_info['max_score'];
- Exclude checks
Variable "key_index" is not in valid camel caps format Open
Open
$my_post_info = explode('_', $key_index);
- Exclude checks
Variable "my_post_info" is not in valid camel caps format Open
Open
$post_content_id[] = isset($my_post_info[1]) ? $my_post_info[1] : null;
- Exclude checks
Variable "my_comments" is not in valid camel caps format Open
Open
->setTeacherComment($my_comments)
- Exclude checks
Variable "results_disabled" is not in valid camel caps format Open
Open
$objExerciseTmp->results_disabled = RESULT_DISABLE_SHOW_SCORE_AND_EXPECTED_ANSWERS;
- Exclude checks
Variable "TBL_LP_ITEM_VIEW" is not in valid camel caps format Open
Open
$sql = "UPDATE $TBL_LP_ITEM_VIEW
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
Cookies.set('default_group_".$exercise_id."', defaultGroupId);
- Exclude checks
Variable "action_links" is not in valid camel caps format Open
Open
$action_links = '
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
defaultGroupId = Cookies.get('default_group_".$exercise_id."');
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
self.location.href = "exercise_report.php?<?php echo api_get_cidreq(); ?>&exerciseId=<?php echo $exercise_id; ?>&delete_before_date="+dateForBDD+"&sec_token=<?php echo $token; ?>";
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model = array_merge([$officialCodeRow], $column_model);
- Exclude checks
Variable "action_links" is not in valid camel caps format Open
Open
$action_links,
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['beforeRequest'] = "
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
Cookies.set('default_group_<?php echo $exercise_id; ?>', defaultGroupId);
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model = array_merge([$officialCodeRow], $column_model);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
<input type="hidden" name="exerciseId" id="exerciseId" value="<?php echo $exercise_id; ?>" />
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['autowidth'] = 'true';
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
defaultGroupId = Cookies.get('default_group_".$exercise_id."');
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model,
- Exclude checks
Variable "is_allowedToEdit" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Variable "is_tutor" is not in valid camel caps format Open
Open
if ($is_allowedToEdit || $is_tutor) {
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params,
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
var defaultGroupId = Cookies.get('default_group_<?php echo $exercise_id; ?>');
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['gridComplete'] = "
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['height'] = 'auto';
- Exclude checks
Multi-line function call not indented correctly; expected 16 spaces but found 20 Open
Open
),
- Exclude checks
Multi-line function call not indented correctly; expected 20 spaces but found 24 Open
Open
'Not validated'
- Exclude checks