chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    if (-1 != $access_url_id) {

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

            if (-1 != $access_url_id) {

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

            $access_url_id = api_get_current_access_url_id();

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

            INNER JOIN $tbl_course_rel_access_url as course_rel_url

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

            WHERE access_url_id = $access_url_id

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

        $sql .= " FROM $user_table u, $course_user_table cu

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

$tool_name = get_lang('Export users list');

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

$sql = "SELECT code,visual_code,title FROM $course_table ORDER BY visual_code";

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

            FROM $course_table as c

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

    $courses[$course->code] = $course->visual_code.' - '.$course->title;

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

$user_table = Database::get_main_table(TABLE_MAIN_USER);

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

    $access_url_id = api_get_current_access_url_id();

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

$form->addElement('header', $tool_name);

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

                $sql .= " FROM $user_table u

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

    $extra_fields = UserManager::get_extra_fields(0, 0, 5, 'ASC', false);

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

$course_user_table = Database::get_main_table(TABLE_MAIN_COURSE_USER);

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

$session_course_user_table = Database::get_main_table(TABLE_MAIN_SESSION_COURSE_USER);

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

    $tbl_course_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_COURSE);

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

    $courseInfo = api_get_course_info($course_code);

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

            $tbl_user_rel_access_url = Database::get_main_table(TABLE_MAIN_ACCESS_URL_REL_USER);

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

    $file_type = $export['file_type'];

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

    if (strlen($course_code) > 0) {

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

        $sql .= " FROM $user_table u, $session_course_user_table scu

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

                          INNER JOIN $tbl_user_rel_access_url as user_rel_url

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

        foreach ($student_data as $key => $value) {

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

$this_section = SECTION_PLATFORM_ADMIN;

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

$course_table = Database::get_main_table(TABLE_MAIN_COURSE);

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

        $sql .= " FROM $user_table u, $course_user_table cu

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

            foreach ($extra_fields as $extra) {

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

    switch ($file_type) {

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

        $filename = 'export_users_'.$course_code.'_'.api_get_local_time();

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

        $sql .= " FROM $user_table u, $session_course_user_table scu

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

                          WHERE access_url_id = $access_url_id

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

            $sql .= " FROM $user_table u ORDER BY lastname,firstname";

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

    $course_code = Database::escape_string($export['course_code']);

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

        $student_data = UserManager:: get_extra_user_data(

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

Display :: display_header($tool_name);

There are no issues that match your filters.

Category
Status