chamilo/chamilo-lms

View on GitHub
public/main/course_info/delete_course.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$current_course_name = $_course['name'];

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

$current_course_code = $_course['official_code'];

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

    if ($current_course_code == $_GET['course_code']) {

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

$this_section = SECTION_COURSES;

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

        $type_info_message = 'error';

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

    $message = '<h3>'.get_lang('Course title').' : '.$current_course_name.'</h3>';

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

        $message = '<h3>'.get_lang('Course title').' : '.$current_course_name.'</h3>';

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

    $message .= '<h3>'.get_lang('Course code').' : '.$current_course_code.'</h3>';

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

$type_info_message = 'warning';

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

$current_course_code = $_course['official_code'];

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

$tpl->assign('content', Display::return_message($message, $type_info_message, false));

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

        $message = '<h3>'.get_lang('Course title').' : '.$current_course_name.'</h3>';

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

        $message .= '<h3>'.get_lang('Course code').' : '.$current_course_code.'</h3>';

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

$_course = api_get_course_info();

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

$current_course_name = $_course['name'];

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

        CourseManager::delete_course($_course['sysCode']);

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

        $message .= '<h3>'.get_lang('Course code').' : '.$current_course_code.'</h3>';

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

$current_course_tool = TOOL_COURSE_MAINTENANCE;

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

$tpl = new Template($tool_name);

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

$tool_name = get_lang('Completely delete this course');

There are no issues that match your filters.

Category
Status