public/main/my_space/myStudents.php
Variable "drh_can_access_all_courses" is not in valid camel caps format Open
Open
$drh_can_access_all_courses = false;
- Exclude checks
Variable "tbl_course_user" is not in valid camel caps format Open
Open
$tbl_course_user = Database::get_main_table(TABLE_MAIN_COURSE_USER);
- Exclude checks
Variable "tbl_stats_exercices" is not in valid camel caps format Open
Open
$tbl_stats_exercices = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id = isset($_GET['lp_id']) ? (int) $_GET['lp_id'] : '';
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id,
- Exclude checks
Variable "session_coached_by_user" is not in valid camel caps format Open
Open
$session_coached_by_user['id']
- Exclude checks
Variable "from_myspace" is not in valid camel caps format Open
Open
$from_myspace = true;
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
$courses_in_session = [];
- Exclude checks
Variable "courses_in_session_by_coach" is not in valid camel caps format Open
Open
$courses_in_session_by_coach = [];
- Exclude checks
Variable "session_by_session_admin" is not in valid camel caps format Open
Open
if (!empty($session_by_session_admin)) {
- Exclude checks
Variable "drh_can_access_all_courses" is not in valid camel caps format Open
Open
$drh_can_access_all_courses = true;
- Exclude checks
Variable "sessions_coached_by_user" is not in valid camel caps format Open
Open
$sessions_coached_by_user = Tracking::get_sessions_coached_by_user(api_get_user_id());
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content = [];
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_TRACKING;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_TRACKING;
- Exclude checks
Variable "session_coached_by_user" is not in valid camel caps format Open
Open
foreach ($session_by_session_admin as $session_coached_by_user) {
- Exclude checks
Variable "courses_followed_by_coach" is not in valid camel caps format Open
Open
$courses_in_session_by_coach[$session_coached_by_user['id']] = $courses_followed_by_coach;
- Exclude checks
Variable "from_myspace" is not in valid camel caps format Open
Open
$from_myspace = false;
- Exclude checks
Variable "courses_in_session_by_coach" is not in valid camel caps format Open
Open
$courses_in_session_by_coach[$session_coached_by_user['id']] = $courses_followed_by_coach;
- Exclude checks
Variable "time_spent_on_course" is not in valid camel caps format Open
Open
<td >'.$time_spent_on_course.'</td>
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
if (!empty($lp_id) &&
- Exclude checks
Variable "session_coached_by_user" is not in valid camel caps format Open
Open
$courses_in_session_by_coach[$session_coached_by_user['id']] = $courses_followed_by_coach;
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "time_spent_on_course" is not in valid camel caps format Open
Open
$time_spent_on_course = api_time_to_hms($timeInSeconds);
- Exclude checks
Variable "session_by_session_admin" is not in valid camel caps format Open
Open
$session_by_session_admin = SessionManager::get_sessions_followed_by_drh(api_get_user_id());
- Exclude checks
Variable "session_by_session_admin" is not in valid camel caps format Open
Open
foreach ($session_by_session_admin as $session_coached_by_user) {
- Exclude checks
Variable "courses_followed_by_coach" is not in valid camel caps format Open
Open
$courses_followed_by_coach = Tracking::get_courses_list_from_session(
- Exclude checks
Variable "first_connection_date" is not in valid camel caps format Open
Open
strip_tags($first_connection_date),
- Exclude checks
Variable "last_connection_date" is not in valid camel caps format Open
Open
$userInfoExtra['last_connection'] = $last_connection_date;
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
if ($session_info) {
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
if (!empty($session_info['access_end_date'])) {
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
Open
$scoretotal_display = '0/0 (0%)';
- Exclude checks
Variable "time_spent_on_course" is not in valid camel caps format Open
Open
$time_spent_on_course,
- Exclude checks
Variable "time_spent_on_course" is not in valid camel caps format Open
Open
<td >'.$time_spent_on_course.'</td>
- Exclude checks
Variable "session_coached_by_user" is not in valid camel caps format Open
Open
foreach ($sessions_coached_by_user as $session_coached_by_user) {
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
$courses_in_session[0][] = $row['c_id'];
- Exclude checks
Variable "drh_can_access_all_courses" is not in valid camel caps format Open
Open
if ($drh_can_access_all_courses) {
- Exclude checks
Variable "time_spent_on_the_course" is not in valid camel caps format Open
Open
$time_spent_on_the_course = 0;
- Exclude checks
Variable "first_connection_date" is not in valid camel caps format Open
Open
$first_connection_date = get_lang('No connection');
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
if (!empty($session_info['access_start_date'])) {
- Exclude checks
Variable "date_session" is not in valid camel caps format Open
Open
.' '.$session_name.($date_session ? ' ('.$date_session.')' : '');
- Exclude checks
Variable "attendances_faults_avg" is not in valid camel caps format Open
Open
$attendances_faults_avg = '0/0 (0%)';
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = $csvRow;
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = Tracking::get_last_connection_time_in_lp(
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
$score_latest = Tracking::get_avg_student_score(
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
$avg_student_score = Tracking::get_avg_student_score(
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$avg_student_progress = round($avg_student_progress, 2);
- Exclude checks
Variable "time_spent_on_the_course" is not in valid camel caps format Open
Open
$time_spent_on_the_course = api_time_to_hms(
- Exclude checks
Variable "coachs_name" is not in valid camel caps format Open
Open
$coachs_name = '';
- Exclude checks
Variable "access_start_date" is not in valid camel caps format Open
Open
$access_start_date = api_format_date($session_info['access_start_date'], DATE_FORMAT_SHORT);
- Exclude checks
Variable "chat_last_connection" is not in valid camel caps format Open
Open
$chat_last_connection = Tracking::chat_last_connection($studentId, $course->getId(), $sessionId);
- Exclude checks
Variable "access_end_date" is not in valid camel caps format Open
Open
if (!empty($access_start_date) && !empty($access_end_date)) {
- Exclude checks
Variable "nb_assignments" is not in valid camel caps format Open
Open
'tasks' => $nb_assignments,
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$results_faults_avg = $attendance->get_faults_average_by_course(
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$session_name = '';
- Exclude checks
Variable "access_start_date" is not in valid camel caps format Open
Open
$date_session = get_lang('From').' '.$access_start_date.' '.get_lang('Until').' '.$access_end_date;
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
.' ('.$results_faults_avg['percent'].'%)';
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
[$lp_id],
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
$total_time = Tracking::get_time_spent_in_lp(
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
$courses_in_session[$row['session_id']][] = $row['c_id'];
- Exclude checks
Variable "last_connection_date" is not in valid camel caps format Open
Open
if ('' == $last_connection_date) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
if (is_numeric($avg_student_score)) {
- Exclude checks
Variable "time_spent_on_the_course" is not in valid camel caps format Open
Open
$userInfoExtra['time_spent_course'] = $time_spent_on_the_course;
- Exclude checks
Variable "access_start_date" is not in valid camel caps format Open
Open
$access_start_date = '';
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
if (!empty($results_faults_avg['total'])) {
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$session_name,
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$total_time = isset($lpTime[$lp_id]) ? (int) $lpTime[$lp_id] : 0;
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
if (!empty($total_time)) {
- Exclude checks
Variable "sessions_coached_by_user" is not in valid camel caps format Open
Open
if (!empty($sessions_coached_by_user)) {
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
$courses_in_session[0][] = $row['c_id'];
- Exclude checks
Variable "tmp_sessions" is not in valid camel caps format Open
Open
if (in_array($row['session_id'], $tmp_sessions)) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "nb_assignments" is not in valid camel caps format Open
Open
$nb_assignments = Container::getStudentPublicationRepository()->countUserPublications(
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
foreach ($courses_in_session as $sId => $courses) {
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
$access_end_date = api_format_date($session_info['access_end_date'], DATE_FORMAT_SHORT);
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$flat_list = $list->get_flat_list();
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
[$lp_id],
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = api_convert_and_format_date($start_time, DATE_TIME_FORMAT_LONG);
- Exclude checks
Variable "courses_followed_by_coach" is not in valid camel caps format Open
Open
$courses_followed_by_coach = Tracking::get_courses_followed_by_coach(api_get_user_id(), $sid);
- Exclude checks
Variable "tbl_course_user" is not in valid camel caps format Open
Open
FROM $tbl_course_user
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
$avg_student_progress = $avg_student_score = 0;
- Exclude checks
Variable "first_connection_date" is not in valid camel caps format Open
Open
if ('' == $first_connection_date) {
- Exclude checks
Variable "use_users_timezone" is not in valid camel caps format Open
Open
$use_users_timezone = api_get_setting('use_users_timezone', 'timezones');
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
$score = $avg_student_score;
- Exclude checks
Variable "chat_last_connection" is not in valid camel caps format Open
Open
'chat_connection' => $chat_last_connection,
- Exclude checks
Variable "attendances_faults_avg" is not in valid camel caps format Open
Open
$attendances_faults_avg = Display::url(
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
.' ('.$results_faults_avg['percent'].'%)',
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$totalAttendance[1] += $results_faults_avg['total'];
- Exclude checks
Variable "attendances_faults_avg" is not in valid camel caps format Open
Open
<td >'.$attendances_faults_avg.'</td>
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = 'row_even';
- Exclude checks
Variable "session_coached_by_user" is not in valid camel caps format Open
Open
$sid = (int) $session_coached_by_user['id'];
- Exclude checks
Variable "last_connection_date" is not in valid camel caps format Open
Open
$last_connection_date = get_lang('No connection');
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
$avg_student_score,
- Exclude checks
Variable "timezone_user" is not in valid camel caps format Open
Open
$timezone = $timezone_user;
- Exclude checks
Variable "last_connection_date" is not in valid camel caps format Open
Open
strip_tags($last_connection_date),
- Exclude checks
Variable "first_connection_date" is not in valid camel caps format Open
Open
$userInfoExtra['first_connection'] = $first_connection_date;
- Exclude checks
Variable "time_spent_on_the_course" is not in valid camel caps format Open
Open
$time_spent_on_the_course,
- Exclude checks
Variable "time_spent_on_course" is not in valid camel caps format Open
Open
$time_spent_on_course = api_time_to_hms($timeInSeconds);
- Exclude checks
Variable "uploaded_documents" is not in valid camel caps format Open
Open
'upload_documents' => $uploaded_documents,
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$results_faults_avg['faults'].'/'.$results_faults_avg['total']
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$totalAttendance[0] += $results_faults_avg['faults'];
- Exclude checks
Variable "access_end_date" is not in valid camel caps format Open
Open
$access_end_date = api_format_date($session_info['access_end_date'], DATE_FORMAT_SHORT);
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = $columnHeadersToExport;
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
$any_result = true;
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
if (!empty($start_time)) {
- Exclude checks
Variable "attendances_faults_avg" is not in valid camel caps format Open
Open
$attendances_faults_avg,
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
$any_result = true;
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
Open
$scoretotal_display,
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = api_convert_and_format_date($start_time, DATE_TIME_FORMAT_LONG);
- Exclude checks
Variable "tmp_sessions" is not in valid camel caps format Open
Open
$tmp_sessions[] = $row['session_id'];
- Exclude checks
Variable "last_connection_date" is not in valid camel caps format Open
Open
$last_connection_date = Tracking::get_last_connection_date(
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$avg_student_progress.'%',
- Exclude checks
Variable "avg_student_score" is not in valid camel caps format Open
Open
$score = $avg_student_score.'%';
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$userInfoExtra['student_progress'] = $avg_student_progress;
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
$access_start_date = api_format_date($session_info['access_start_date'], DATE_FORMAT_SHORT);
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
.' '.$session_name.($date_session ? ' ('.$date_session.')' : '');
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
[$lp_id],
- Exclude checks
Variable "tmp_sessions" is not in valid camel caps format Open
Open
if (in_array($row['session_id'], $tmp_sessions)) {
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
$courses_in_session[$row['session_id']][] = $row['c_id'];
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$avg_student_progress = round($avg_student_progress, 2);
- Exclude checks
Variable "first_connection_date" is not in valid camel caps format Open
Open
$first_connection_date = Tracking::get_first_connection_date($studentId);
- Exclude checks
Variable "timezone_user" is not in valid camel caps format Open
Open
if (null != $timezone_user && 'true' === $use_users_timezone) {
- Exclude checks
Variable "access_end_date" is not in valid camel caps format Open
Open
$access_end_date = '';
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$attendances_faults_avg = $results_faults_avg['faults'].'/'
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
Open
$scoretotal_display =
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [str_replace(' ', '', strip_tags($completeName))];
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
if (!empty($total_time)) {
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$send_mail = '<a href="mailto:'.$email.'">'.
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$avg_student_progress = $avg_student_score = 0;
- Exclude checks
Variable "date_session" is not in valid camel caps format Open
Open
$date_session = '';
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
$session_name = $session_info['name'];
- Exclude checks
Variable "date_session" is not in valid camel caps format Open
Open
$date_session = get_lang('From').' '.$access_start_date.' '.get_lang('Until').' '.$access_end_date;
- Exclude checks
Variable "date_session" is not in valid camel caps format Open
Open
.' '.$session_name.($date_session ? ' ('.$date_session.')' : '');
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = $learnpath['lp_name'];
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = 'row_odd';
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$send_mail = Display::getMdiIcon(ActionIcon::SEND_MESSAGE, 'ch-tool-icon-disabled', null, ICON_SIZE_MEDIUM, get_lang('Send message mail'));
- Exclude checks
Variable "timezone_user" is not in valid camel caps format Open
Open
$timezone_user = $user->getTimezone();
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
$results_faults_avg['faults'].'/'.$results_faults_avg['total']
- Exclude checks
Variable "attendances_faults_avg" is not in valid camel caps format Open
Open
$attendances_faults_avg = $results_faults_avg['faults'].'/'
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = $csvRow;
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
foreach ($flat_list as $learnpath) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
[$lp_id],
- Exclude checks
Variable "courses_followed_by_coach" is not in valid camel caps format Open
Open
$courses_in_session_by_coach[$sid] = $courses_followed_by_coach;
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$start_time = '-';
- Exclude checks
Variable "courses_in_session_by_coach" is not in valid camel caps format Open
Open
if (isset($courses_in_session_by_coach[$row['session_id']])) {
- Exclude checks
Variable "uploaded_documents" is not in valid camel caps format Open
Open
$uploaded_documents = Tracking::count_student_uploaded_documents($studentId, $course->getCode(), $sessionId);
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$session_name = $session_info['name'];
- Exclude checks
Variable "access_start_date" is not in valid camel caps format Open
Open
if (!empty($access_start_date) && !empty($access_end_date)) {
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
if (empty($session_info)) {
- Exclude checks
Variable "scoretotal_display" is not in valid camel caps format Open
Open
<td >'.$scoretotal_display.'</td>';
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
$any_result = false;
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
$any_result = true;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id,
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
[$lp_id],
- Exclude checks
Variable "courses_in_session_by_coach" is not in valid camel caps format Open
Open
$courses_in_session_by_coach[$sid] = $courses_followed_by_coach;
- Exclude checks
Variable "drh_can_access_all_courses" is not in valid camel caps format Open
Open
if ($drh_can_access_all_courses) {
- Exclude checks
Variable "tmp_sessions" is not in valid camel caps format Open
Open
$tmp_sessions = [];
- Exclude checks
Variable "avg_student_progress" is not in valid camel caps format Open
Open
$avg_student_progress = Tracking::get_avg_student_progress(
- Exclude checks
Variable "session_name" is not in valid camel caps format Open
Open
$session_name = '';
- Exclude checks
Variable "use_users_timezone" is not in valid camel caps format Open
Open
if (null != $timezone_user && 'true' === $use_users_timezone) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "session_info" is not in valid camel caps format Open
Open
$session_info = api_get_session_info($sId);
- Exclude checks
Variable "access_end_date" is not in valid camel caps format Open
Open
$date_session = get_lang('From').' '.$access_start_date.' '.get_lang('Until').' '.$access_end_date;
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
$total_time = isset($lpTime[$lp_id]) ? (int) $lpTime[$lp_id] : 0;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$total_time = isset($lpTime[$lp_id]) ? (int) $lpTime[$lp_id] : 0;
- Exclude checks
Variable "sessions_coached_by_user" is not in valid camel caps format Open
Open
foreach ($sessions_coached_by_user as $session_coached_by_user) {
- Exclude checks
Variable "send_mail" is not in valid camel caps format Open
Open
$actions .= $send_mail;
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "results_faults_avg" is not in valid camel caps format Open
Open
.$results_faults_avg['total']
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id = $learnpath['lp_old_id'];
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
echo '<tr class="'.$css_class.'">';
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
$contentToExport[] = $start_time;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
exe_exo_id = "'.$exercise_id.'" AND
- Exclude checks
Variable "result_last_attempt" is not in valid camel caps format Open
Open
$result_last_attempt = Database::query($sql);
- Exclude checks
Variable "id_last_attempt" is not in valid camel caps format Open
Open
'../exercise/exercise_show.php?id='.$id_last_attempt.'&cid='.$courseId
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$all_attempt_url = "../exercise/exercise_report.php?id=$exercise_id&"
- Exclude checks
Variable "survey_list" is not in valid camel caps format Open
Open
if (!empty($survey_list)) {
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
$header_names = [get_lang('Survey'), get_lang('Answered')];
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
$currentUrl.'&action=add_work_time&time='.$time.'&work_id='.$work->getIid()
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
$score_latest = $score_latest.'%';
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
echo Display::tag('td', stripslashes($lp_name));
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
.'&lp_id='.$lp_id.'&student_id='.$studentId.'&sid='.$sessionId
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
if (true === $any_result) {
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
if (!isset($score_percentage) && $count_attempts > 0) {
- Exclude checks
Variable "tbl_stats_exercices" is not in valid camel caps format Open
Open
$sql = 'SELECT exe_id FROM '.$tbl_stats_exercices.'
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$survey_data[] = $data;
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = $contentToExport;
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id,
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
$score_percentage = 0;
- Exclude checks
Variable "result_last_attempt" is not in valid camel caps format Open
Open
if (Database::num_rows($result_last_attempt) > 0) {
- Exclude checks
Variable "data_exercices" is not in valid camel caps format Open
Open
$data_exercices[$i][] = $exercise->getTitle();
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('AddTime'),
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
Export::arrayToCsv($csv_content, 'reporting_student');
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
if (isset($score_latest) && !is_null($score_latest)) {
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
$contentToExport[] = $score_latest;
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
echo Display::tag('td', $score_latest);
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
if ($count_attempts > 0) {
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
$data_exercices[$i][] = $count_attempts;
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name,
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list = SurveyManager::get_people_who_filled_survey(
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = 'row_even';
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
if ($count_attempts > 0) {
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
$count_attempts,
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
if (in_array($studentId, $user_list)) {
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
$currentUrl.'&action=remove_work_time&time='.$time.'&work_id='.$work->getIid()
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id,
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = '-';
- Exclude checks
Variable "scores_lp" is not in valid camel caps format Open
Open
$score_percentage = $scores_lp[0];
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
$css_class = 'row_odd';
- Exclude checks
Variable "header_names" is not in valid camel caps format Open
Open
foreach ($header_names as $item) {
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Variable "start_time" is not in valid camel caps format Open
Open
echo Display::tag('td', $start_time);
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id,
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
if (!empty($survey_data)) {
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
$score_latest = $score_latest.'%';
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
$contentToExport[] = api_time_to_hms($total_time);
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
if (!isset($score_percentage) && $count_attempts > 0) {
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
echo $lp_name;
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$contentToExport[] = api_html_entity_decode(stripslashes($lp_name));
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = !empty($lp_name) ? $lp_name : get_lang('No learning path');
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = !empty($lp_name) ? $lp_name : get_lang('No learning path');
- Exclude checks
Variable "survey_done" is not in valid camel caps format Open
Open
$survey_done = Display::getMdiIcon(StateIcon::COMPLETE, 'ch-tool-icon-disabled', null, ICON_SIZE_SMALL, get_lang('There is no answer for the moment'));
- Exclude checks
Variable "survey_done" is not in valid camel caps format Open
Open
$survey_done = Display::getMdiIcon(StateIcon::COMPLETE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Answered'));
- Exclude checks
Variable "any_result" is not in valid camel caps format Open
Open
if (true === $any_result) {
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
if ($count_attempts > 0) {
- Exclude checks
Variable "data_exercices" is not in valid camel caps format Open
Open
$data_exercices[$i][] = $score_percentage.'%';
- Exclude checks
Variable "uploaded_documents" is not in valid camel caps format Open
Open
$uploaded_documents,
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
if (is_numeric($score_latest)) {
- Exclude checks
Variable "from_myspace" is not in valid camel caps format Open
Open
if ($from_myspace) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
$score_percentage = Tracking::get_avg_student_exercise_score(
- Exclude checks
Variable "id_last_attempt" is not in valid camel caps format Open
Open
$id_last_attempt = Database::result($result_last_attempt, 0, 0);
- Exclude checks
Variable "scores_lp" is not in valid camel caps format Open
Open
$scores_lp = Tracking::get_avg_student_exercise_score(
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
$score_percentage,
- Exclude checks
Variable "scores_lp" is not in valid camel caps format Open
Open
$lp_name = $scores_lp[1];
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = !empty($lp_name) ? $lp_name : get_lang('No learning path');
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
foreach ($survey_data as $data) {
- Exclude checks
Variable "survey_done" is not in valid camel caps format Open
Open
$data = ['title' => $survey['title'], 'done' => $survey_done];
- Exclude checks
Variable "nb_assignments" is not in valid camel caps format Open
Open
$nb_assignments,
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
Export::arrayToXls($csv_content, 'reporting_student');
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "all_attempt_url" is not in valid camel caps format Open
Open
$all_attempt_url
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "chat_last_connection" is not in valid camel caps format Open
Open
$chat_last_connection,
- Exclude checks
Variable "score_latest" is not in valid camel caps format Open
Open
if (isset($score_latest) && !is_null($score_latest)) {
- Exclude checks
Variable "total_time" is not in valid camel caps format Open
Open
echo Display::tag('td', api_time_to_hms($total_time));
- Exclude checks
Variable "exercise_id" is not in valid camel caps format Open
Open
$exercise_id = (int) $exercise->getIid();
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
$count_attempts = Tracking::count_student_exercise_attempts(
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
$score_percentage = $scores_lp[0];
- Exclude checks
Variable "all_attempt_url" is not in valid camel caps format Open
Open
$all_attempt_url = "../exercise/exercise_report.php?id=$exercise_id&"
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
$data_exercices[$i][] = $score_percentage.'%';
- Exclude checks
Variable "survey_data" is not in valid camel caps format Open
Open
$survey_data = [];
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('RemoveTime'),
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
$lp_name = $scores_lp[1];
- Exclude checks
Variable "score_percentage" is not in valid camel caps format Open
Open
echo $score_percentage.'%';
- Exclude checks
Variable "count_attempts" is not in valid camel caps format Open
Open
echo '<td>'.$count_attempts.'</td>';
- Exclude checks
Variable "data_exercices" is not in valid camel caps format Open
Open
$data_exercices[$i][] = $count_attempts;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
.$courseCode.'&details='.$details.'&origin='.$origin.'&lp_id='.$lp_id.'&student='
- Exclude checks
Variable "css_class" is not in valid camel caps format Open
Open
echo '<tr class="'.$css_class.'"><td>'.$exerciseTitle.'</td>';
- Exclude checks
Variable "lp_name" is not in valid camel caps format Open
Open
if (!empty($lp_name)) {
- Exclude checks
Variable "result_last_attempt" is not in valid camel caps format Open
Open
$id_last_attempt = Database::result($result_last_attempt, 0, 0);
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csvContentIndex = count($csv_content) - 1;
- Exclude checks
Variable "survey_list" is not in valid camel caps format Open
Open
foreach ($survey_list as $survey) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "courses_in_session" is not in valid camel caps format Open
Open
echo $plugin->getUserStatsPanel($studentId, $courses_in_session);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
$currentUrl.'&action=remove_work_time&time='.$time.'&work_id='.$work->getIid()
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('RemoveTime'),
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
get_lang('AddTime'),
- Exclude checks
Multi-line function call not indented correctly; expected 24 spaces but found 28 Open
Open
);
- Exclude checks
Multi-line function call not indented correctly; expected 28 spaces but found 32 Open
Open
$currentUrl.'&action=add_work_time&time='.$time.'&work_id='.$work->getIid()
- Exclude checks