public/main/tracking/courseLog.php
Variable "export_csv" is not in valid camel caps format Open
Open
if ($export_csv) {
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$extra_info = [];
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$headers[$extra_info[$fieldId]['variable']] = $extra_info[$fieldId]['display_text'];
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Login');
- Exclude checks
Variable "current_course_tool" is not in valid camel caps format Open
Open
$current_course_tool = TOOL_TRACKING;
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
$export_csv = isset($_GET['export']) && 'csv' === $_GET['export'];
- Exclude checks
Variable "from_myspace" is not in valid camel caps format Open
Open
$from_myspace = true;
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addHidden('sid', $sessionId);
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content = [];
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
Open
$table->total_number_of_items = $nbStudents;
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('First name');
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$extra_info[$fieldId] = $extraField->getFieldInfoByFieldId($fieldId);
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addHidden('cid', $courseId);
- Exclude checks
Variable "from_myspace" is not in valid camel caps format Open
Open
$from_myspace = false;
- Exclude checks
Variable "users_tracking_per_page" is not in valid camel caps format Open
Open
$users_tracking_per_page = '';
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Time');
- Exclude checks
Variable "is_allowedToTrack" is not in valid camel caps format Open
Open
$is_allowedToTrack = Tracking::isAllowToTrack($sessionId);
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
20,
- Exclude checks
Variable "user_ids" is not in valid camel caps format Open
Open
$user_ids = array_keys($studentList);
- Exclude checks
Variable "user_array" is not in valid camel caps format Open
Open
$user_array[] = $key;
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$headers[$extra_info[$fieldId]['variable']] = $extra_info[$fieldId]['display_text'];
- Exclude checks
Variable "table_user" is not in valid camel caps format Open
Open
$table_user = Database::get_main_table(TABLE_MAIN_USER);
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$table->set_header($counter, $extra_info[$fieldId]['display_text'], false);
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Code');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Last name');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Last name');
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search = new FormValidator(
- Exclude checks
Variable "course_name" is not in valid camel caps format Open
Open
$titleCourse = Display::getMdiIcon(ObjectIcon::COURSE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Course')).' '.$course_name;
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
$usersTracking,
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addHidden('from', Security::remove_XSS($from));
- Exclude checks
Variable "course_name" is not in valid camel caps format Open
Open
$course_name = get_lang('Course').' '.$course->getTitle();
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers = [];
- Exclude checks
Variable "user_array" is not in valid camel caps format Open
Open
$user_array = [];
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
Session::write('extra_field_info', $extra_info);
- Exclude checks
Variable "users_tracking_per_page" is not in valid camel caps format Open
Open
href="'.api_get_self().'?'.api_get_cidreq().'&export=csv&'.$additionalParams.$users_tracking_per_page.'">
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
1,
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
if ($export_csv) {
- Exclude checks
Variable "is_allowedToTrack" is not in valid camel caps format Open
Open
if (!$is_allowedToTrack) {
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "TABLETRACK_EXERCISES" is not in valid camel caps format Open
Open
$TABLETRACK_EXERCISES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
if ($export_csv) {
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Progress');
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addHidden('sessionId', $sessionId);
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addElement('text', 'user_keyword');
- Exclude checks
Variable "user_array" is not in valid camel caps format Open
Open
$user_array
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content = [];
- Exclude checks
Variable "users_tracking_per_page" is not in valid camel caps format Open
Open
$users_tracking_per_page = '&users_tracking_per_page='.intval($_GET['users_tracking_per_page']);
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$form_search->addButtonSearch(get_lang('Search users'));
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
'users_tracking'
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('First name');
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = 'session_my_space';
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
$renderer = $form_search->defaultRenderer();
- Exclude checks
Variable "form_search" is not in valid camel caps format Open
Open
[$actionsLeft, $form_search->returnForm(), $actionsRight]
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 4 Open
Open
);
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Exercise progress');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Score');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Latest access in course');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
array_unshift($csvContentInSession, $csv_headers);
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = $exerciseLabel;
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = $extra_info[$fieldId]['display_text'];
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Survey');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Messages');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Student_publication');
- Exclude checks
Variable "extra_info" is not in valid camel caps format Open
Open
$csv_headers[] = $extra_info[$fieldId]['display_text'];
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('Exercise average');
- Exclude checks
Missing function doc comment Open
Open
function sort_by_order($a, $b)
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('RegistrationDate');
- Exclude checks
Consider putting global function "sort_by_order" in a static class Open
Open
function sort_by_order($a, $b)
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = get_lang('First access to course');
- Exclude checks
Variable "csv_headers" is not in valid camel caps format Open
Open
$csv_headers[] = $bestScoreLabel;
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
'users_tracking'
- Exclude checks
Line indented incorrectly; expected at least 8 spaces, found 4 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 8 spaces but found 4 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
$usersTracking,
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
1,
- Exclude checks
Multi-line function call not indented correctly; expected 12 spaces but found 8 Open
Open
20,
- Exclude checks