chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    $_in_course = false;

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

if ($display_form) {

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

$my_user_id = api_get_user_id();

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

$_in_course = true;

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

            $cat->setCourseId(api_get_course_int_id($select_course));

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

        'url' => Category::getUrl().'selectcat='.$get_select_cat,

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

        if ('COURSEINDEPENDENT' == $select_course) {

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

    'action_details' => Category::getUrl().'selectcat='.$get_select_cat,

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

if (!$_in_course) {

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

$catcourse = Category :: load($get_select_cat);

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

    $select_course = isset($values['select_course']) ? $values['select_course'] : [];

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

$display_form = true;

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

$edit_cat = isset($_REQUEST['editcat']) ? intval($_REQUEST['editcat']) : '';

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

if ($_in_course) {

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

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

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

$catadd->set_parent_id($get_select_cat);

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

$course_code = api_get_course_id();

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

$catadd->set_user_id($my_user_id);

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

    api_get_self().'?selectcat='.$get_select_cat.'&'.api_get_cidreq()

There are no issues that match your filters.

Category
Status