chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

$course_info = api_get_course_info($courseCode);

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

        $session_id

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

                        c_id = '.$course_info['real_id'].' AND

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

    $all_categories = Category::load(

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

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

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

$tbl_link = Database::get_main_table(TABLE_MAIN_GRADEBOOK_LINK);

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

if (0 == $session_id) {

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

        if (1 == $addvalue_result) {

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

            $sql_l = 'SELECT count(*) FROM '.$tbl_link.'

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

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

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

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

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

                            course_code="'.$course_id.'" AND

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

$current_course_tool = TOOL_GRADEBOOK;

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

$current_id = 0;

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

            $res_l = Database::query($sql_l);

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

$this_section = SECTION_COURSES;

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

        $global_weight = $category[0]->get_weight();

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

            $res_l = Database::query($sql_l);

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

            $row = Database::fetch_row($res_l);

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

$action_details = '';

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

$session_id = api_get_session_id();

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

            $sql1 = 'SELECT title from '.$tbl_forum_thread.'

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

$tbl_forum_thread = Database::get_course_table(TABLE_FORUM_THREAD);

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

            $course_id = api_get_course_id();

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

                            c_id = '.$course_info['real_id'].' ';

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

        $all_categories,

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

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

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

        $addvalue_result = !empty($addvalues['addresult']) ? $addvalues['addresult'] : [];

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

    $action_details = 'selectcat';

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

    $current_id = (int) $_GET['selectcat'];

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

            $sql_l = 'SELECT count(*) FROM '.$tbl_link.'

There are no issues that match your filters.

Category
Status