chamilo/chamilo-lms

View on GitHub
public/main/survey/survey_invite.php

Summary

Maintainability
A
0 mins
Test Coverage

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

            $total_invited.'</a> ';

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

$survey_data = SurveyManager::get_survey($surveyId);

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

$table_survey = Database::get_course_table(TABLE_SURVEY);

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

    $count_course_users = SurveyUtil::saveInvitations(

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

    $additional_users = explode(';', $temp);

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

        $additional_users[$i] = trim($additional_users[$i]);

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

$form->addHeader($tool_name);

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

$auto_survey_link = SurveyUtil::generateFillSurveyLink(

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

    $total_invited = SurveyUtil::updateInvitedCount($survey);

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

    $message .= Display::url($survey_data['invited'], $invitationUrl.'&view=invited');

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

$form->addElement('label', null, $auto_survey_link);

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

    $counter_additional_users = SurveyUtil::saveInvitations(

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

    $total_count = $count_course_users + $counter_additional_users;

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

    for ($i = 0; $i < count($additional_users); $i++) {

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

        $additional_users[$i] = trim($additional_users[$i]);

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

$this_section = SECTION_COURSES;

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

$course_id = api_get_course_int_id();

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

        $additional_users,

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

            echo Display::return_message($total_count.' '.get_lang('invitations sent.'), 'success', false);

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

    $total_count = $count_course_users + $counter_additional_users;

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

            $survey_data['answered'].'</a> ';

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

$tool_name = get_lang('Publication of the survey');

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

    if ($total_invited > 0) {

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

Display::display_header($tool_name, 'Survey');

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

    $total_count = $count_course_users + $counter_additional_users;

There are no issues that match your filters.

Category
Status