chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

    if (2 == $select_type) {

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

        switch ($file_type) {

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

$form->addHeader($tool_name);

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

        if (is_array($selected_courses)) {

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

                if (!in_array($course['code'], $selected_courses)) {

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

    $file_type = $_POST['file_type'];

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

$courses = $selected_courses = [];

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

        $courses = $course_list;

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

$course_list = CourseManager::get_courses_list(

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

        $selected_courses = $_POST['course_code'];

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

$tool_name = get_lang('Export courses');

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

    $select_type = (int) ($_POST['select_type']);

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

Display::display_header($tool_name);

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

$this_section = SECTION_PLATFORM_ADMIN;

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

if (!empty($course_list)) {

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

    foreach ($course_list as $course) {

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

            foreach ($course_list as $course) {

There are no issues that match your filters.

Category
Status