chamilo/chamilo-lms

View on GitHub
public/main/survey/preview.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    if (array_key_exists($_GET['show'], $paged_questions)) {

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

$course_id = api_get_course_int_id();

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

                    $paged_questions[$counter][] = $row['iid'];

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

        if (false == $questions_exists) {

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

    $questions_exists = true;

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

        foreach ($paged_questions as $keyQuestion => $list) {

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

        $form->addHtml('<div class="survey_question '.$ch_type.' '.$parentClass.'">');

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

                    $paged_questions[$counter][] = $row['iid'];

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

        $questions_exists = false;

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

$this_section = SECTION_COURSES;

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

                LEFT JOIN $table_survey_question_option survey_question_option

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

                    survey_question.iid IN (".Database::escape_string(implode(',', $paged_questions[$_GET['show']]), null, false).") AND

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

$table_survey_question = Database::get_course_table(TABLE_SURVEY_QUESTION);

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

    $paged_questions = [];

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

    $sql = "SELECT * FROM $table_survey_question

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

$table_survey_question_option = Database::get_course_table(TABLE_SURVEY_QUESTION_OPTION);

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

                FROM $table_survey_question survey_question

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

        $ch_type = 'ch_'.$question['type'];

There are no issues that match your filters.

Category
Status