chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

$extra = $extra_field->addElements(

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

if ($show_delete_watermark_text_message) {

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

        $show_delete_watermark_text_message = true;

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

        $delete_url = '<a href="?delete_watermark">'.Display::getMdiIcon(ActionIcon::DELETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Remove picture')).'</a>';

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

$values['title'] = $_course['name'];

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

$values['visibility'] = $_course['visibility'];

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

$values['unsubscribe'] = $_course['unsubscribe'];

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

    $cidReq = $course_code;

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

$_course = api_get_course_info();

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

$show_delete_watermark_text_message = false;

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

        PDF::delete_watermark($course_code);

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

            '<div class="row"><div class="form"><a href="'.$url.'">'.$url.' '.$delete_url.'</a></div></div>'

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

$values['legal'] = $_course['legal'];

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

            $num = CourseManager::countActiveCourses($access_url_id);

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

$values['department_url'] = $_course['extLink']['url'];

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

            $disabled_output = "disabled";

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

$values['activate_legal'] = $_course['activate_legal'];

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

    $limitCourses = get_hosting_limit($access_url_id, 'hosting_limit_active_courses');

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

$extra_field = new ExtraField('course');

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

    get_lang('Only PNG, JPG or GIF images allowed').' ('.implode(',', $allowed_picture_types).')',

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

        get_lang('Only PNG, JPG or GIF images allowed').' ('.implode(',', $allowed_picture_types).')',

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

$values['show_score'] = $_course['show_score'];

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

$values['department_name'] = $_course['extLink']['name'];

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

$url = api_get_path(WEB_CODE_PATH)."auth/inscription.php?c=$course_code&e=1";

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

$values['course_registration_password'] = $_course['registration_code'];

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

$allowed_picture_types = api_get_supported_image_extensions(false);

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

    if (!empty($pdf_export_watermark_path['name'])) {

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

$current_course_tool = TOOL_COURSE_SETTING;

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

    $url = PDF::get_watermark($course_code);

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

    $allowed_picture_types

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

        $disabled_output = "disabled";

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

$values['course_language'] = $_course['language'];

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

            $pdf_export_watermark_path['name'],

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

            $course_code

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

        $allowed_picture_types

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

$values['subscribe'] = $_course['subscribe'];

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

            $pdf_export_watermark_path['tmp_name'],

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

$this_section = SECTION_COURSES;

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

    $access_url_id = api_get_current_access_url_id();

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

    $pdf_export_watermark_path = isset($_FILES['pdf_export_watermark_path'])

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

$course_code = api_get_course_id();

There are no issues that match your filters.

Category
Status