chamilo/chamilo-lms

View on GitHub
public/main/exercise/exercise.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "TBL_EXERCISE_QUESTION" is not in valid camel caps format
Open

$TBL_EXERCISE_QUESTION = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);

Variable "learnpath_item_id" is not in valid camel caps format
Open

$learnpath_item_id = isset($_REQUEST['learnpath_item_id']) ? (int) $_REQUEST['learnpath_item_id'] : null;

Variable "exercise_action_locked" is not in valid camel caps format
Open

                    $exercise_action_locked = api_resource_is_locked_by_gradebook($exeItem['id'], LINK_EXERCISE);

Variable "is_allowedToEdit" is not in valid camel caps format
Open

if ($is_allowedToEdit) {

Variable "is_tutor_course" is not in valid camel caps format
Open

$is_tutor_course = api_is_course_tutor();

Variable "exercise_action_locked" is not in valid camel caps format
Open

    $exercise_action_locked = api_resource_is_locked_by_gradebook($exerciseId, LINK_EXERCISE);

Variable "is_allowedToEdit" is not in valid camel caps format
Open

$is_allowedToEdit = api_is_allowed_to_edit(null, true);

Variable "TBL_EXERCISES" is not in valid camel caps format
Open

$TBL_EXERCISES = Database::get_course_table(TABLE_QUIZ_TEST);

Variable "quantity_results_deleted" is not in valid camel caps format
Open

                            $quantity_results_deleted += $objExerciseTmp->cleanResults(true);

Variable "exercise_action_locked" is not in valid camel caps format
Open

            if (false == $exercise_action_locked) {

Variable "quantity_results_deleted" is not in valid camel caps format
Open

                $quantity_results_deleted = 0;

Variable "is_tutor" is not in valid camel caps format
Open

$is_tutor = api_is_allowed_to_edit(true);

Variable "is_allowedToEdit" is not in valid camel caps format
Open

if ($is_allowedToEdit && !empty($action)) {

Variable "quantity_results_deleted" is not in valid camel caps format
Open

                        $quantity_results_deleted

Variable "is_allowedToEdit" is not in valid camel caps format
Open

            if ($is_allowedToEdit) {

Variable "this_section" is not in valid camel caps format
Open

$this_section = SECTION_COURSES;

Variable "TBL_DOCUMENT" is not in valid camel caps format
Open

$TBL_DOCUMENT = Database::get_course_table(TABLE_DOCUMENT);

Variable "quantity_results_deleted" is not in valid camel caps format
Open

                            $quantity_results_deleted

Variable "quantity_results_deleted" is not in valid camel caps format
Open

                $quantity_results_deleted = $objExerciseTmp->cleanResults(true);

Variable "current_course_tool" is not in valid camel caps format
Open

$current_course_tool = TOOL_QUIZ;

Variable "learnpath_id" is not in valid camel caps format
Open

$learnpath_id = isset($_REQUEST['learnpath_id']) ? (int) $_REQUEST['learnpath_id'] : null;

Variable "exercise_action_locked" is not in valid camel caps format
Open

                    if (false == $exercise_action_locked) {

Variable "is_allowedToEdit" is not in valid camel caps format
Open

if ($is_allowedToEdit && 'learnpath' !== $origin) {

Variable "TBL_TRACK_EXERCISES" is not in valid camel caps format
Open

$TBL_TRACK_EXERCISES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);

There are no issues that match your filters.

Category
Status