chamilo/chamilo-lms

View on GitHub
public/main/my_space/admin.php

Summary

Maintainability
A
0 mins
Test Coverage

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

        $user_id = $admins["user_id"];

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

    $order_clause = api_is_western_name_order(PERSON_NAME_DATA_EXPORT) ? ' ORDER BY firstname, lastname' : ' ORDER BY lastname, firstname';

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

    $order_clause = api_sort_by_first_name() ? ' ORDER BY firstname, lastname' : ' ORDER BY lastname, firstname';

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

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

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

            $css_class = "row_odd";

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

$tbl_session_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE);

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

        WHERE admin.user_id=user.id".$order_clause;

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

            $data[$user_id]["lastname"] = $lastname;

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

            $css_class = "row_even";

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

    while ($admins = Database::fetch_array($result_admins)) {

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

        FROM $tbl_user as user, $tbl_admin as admin

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

            $data[$user_id]["firstname"] = $firstname;

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

        $data[$user_id]["email"] = $email;

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

$this_section = SECTION_TRACKING;

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

            echo "<tr class=".$css_class."><td>$lastname</td><td>$firstname</td><td><a href='mailto:".$email."'>$email</a></td></tr>";

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

$tbl_course = Database::get_main_table(TABLE_MAIN_COURSE);

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

$tbl_admin = Database::get_main_table(TABLE_MAIN_ADMIN);

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

$tbl_session_rel_user = Database::get_main_table(TABLE_MAIN_SESSION_USER);

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

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

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

            echo "<tr class=".$css_class."><td>$firstname</td><td>$lastname</td><td><a href='mailto:".$email."'>$email</a></td></tr>";

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

            $data[$user_id]["lastname"] = $lastname;

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

        FROM $tbl_user as user, $tbl_admin as admin

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

$tbl_user = Database::get_main_table(TABLE_MAIN_USER);

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

$tbl_session = Database::get_main_table(TABLE_MAIN_SESSION);

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

            $data[$user_id]["firstname"] = $firstname;

There are no issues that match your filters.

Category
Status