chamilo/chamilo-lms

View on GitHub
public/main/inc/ajax/course.ajax.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            CourseManager::add_course_vote($user_id, $star, $course_id, 0);

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

            $result = Database::query($sql_query);

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

            CourseManager::add_course_vote($user_id, $star, $course_id, 0);

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

            $point_info,

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

$user_id = api_get_user_id();

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

        $point_info = CourseManager::get_course_ranking($course_id, 0);

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

        $ajax_url = api_get_path(WEB_AJAX_PATH).'course.ajax.php?a=add_course_vote';

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

            'star_'.$course_id,

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

            $ajax_url.'&course_id='.$course_id,

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

        $course_id = (int) $_REQUEST['course_id'];

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

            $ajax_url.'&course_id='.$course_id,

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

        $point_info = CourseManager::get_course_ranking($course_id, 0);

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

            $sql_query = sprintf(

There are no issues that match your filters.

Category
Status