chamilo/chamilo-lms

View on GitHub
public/main/gradebook/gradebook_edit_link.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    $parent_cat = Category::load($values['select_gradebook']);

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

                WHERE iid = '.$attendance_id;

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

$tbl_grade_links = Database::get_main_table(TABLE_MAIN_GRADEBOOK_LINK);

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

    $cats = Category::loadSessionCategories(null, $session_id);

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

                thread_weight = '.api_float_val($final_weight).'

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

$course_code = api_get_course_id();

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

        $attendance_id = (int) $row_attendance['ref_id'];

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

$course_id = api_get_course_int_id();

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

        $sql = 'UPDATE '.$tbl_attendance.' SET

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

    $sql = 'SELECT ref_id FROM '.$tbl_grade_links.'

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

$tbl_forum_thread = Database::get_course_table(TABLE_FORUM_THREAD);

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

        $row_attendance = Database::fetch_array($rs_attendance);

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

    if (Database::num_rows($rs_attendance) > 0) {

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

    $sql = 'UPDATE '.$tbl_forum_thread.' SET

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

$session_id = api_get_session_id();

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

        $course_id,

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

        $attendance_id = (int) $row_attendance['ref_id'];

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

            'final_weight' => $final_weight,

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

    $final_weight = $values['weight_mask'];

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

    $link->set_weight($final_weight);

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

        $row_attendance = Database::fetch_array($rs_attendance);

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

    $rs_attendance = Database::query($sql);

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

                    attendance_weight ='.api_float_val($final_weight).'

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

if (0 == $session_id) {

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

        $session_id,

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

$tbl_attendance = Database::get_course_table(TABLE_ATTENDANCE);

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

                    SELECT ref_id FROM '.$tbl_grade_links.'

There are no issues that match your filters.

Category
Status