chamilo/chamilo-lms

View on GitHub
public/main/attendance/index.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$current_course_tool = TOOL_ATTENDANCE;

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

        'url' => api_get_path(WEB_CODE_PATH).'my_space/myStudents.php?student='.$student_id,

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

        'name' => $student_info['complete_name'],

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

    'url' => 'index.php?'.api_get_cidreq().'&action=attendance_list&'.$student_param,

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

    $student_info = api_get_user_info($student_id);

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

$student_id = null;

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

        $default_column = isset($default_column) ? $default_column : null;

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

    $student_id = (int) ($_GET['student_id']);

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

$this_section = SECTION_COURSES;

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

    $student_param = '&student_id='.$student_id;

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

        $default_column = isset($default_column) ? $default_column : null;

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

$student_param = '';

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

    $student_info = api_get_user_info($student_id);

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

        $default_column = isset($default_column) ? $default_column : null;

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

    $student_param = '&student_id='.$student_id;

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

            $attendance->category_id = isset($_POST['category_id']) ? $_POST['category_id'] : 0;

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

        if (isset($error_checkdate) && $error_checkdate) {

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

            $message .= $message_information;

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

            $link_to_gradebook = false;

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

                    if (($end_datetime > $start_datetime) && $checkdate) {

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

                            $repeat_type,

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

            foreach ($attendance_calendar as $calendar) {

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

            $default_column

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

            foreach ($_POST['hidden_input'] as $cal_id) {

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

                    $users_present,

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

            $form->addSelect('repeat_type', get_lang('Repeat type'), $a_repeat_type);

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

        if (isset($error_checkdate) && $error_checkdate) {

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

                $link_to_gradebook = true;

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

                    $users_present = $_POST['check_presence'][$cal_id];

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

                    $start_datetime = api_strtotime(

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

                    $end_datetime = api_strtotime(api_get_utc_datetime($_POST['end_date_time'].' 23:59:59'), 'UTC');

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

                            $end_datetime,

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

            $a_repeat_type = [

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

            $attendanceId = $attendance->attendance_add($link_to_gradebook);

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

        $content = $attendance->getCalendarSheet($edit, $attendanceEntity, $student_id);

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

                            $start_datetime,

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

            $attendance->attendance_edit($attendanceEntity, $link_to_gradebook);

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

                $users_present = [];

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

        $attendance_calendar = $attendance->get_attendance_calendar(

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

        if (!$is_locked_attendance || api_is_platform_admin()) {

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

        $message_information = get_lang('The attendance calendar allows you to register attendance lists (one per real session the students need to attend). Add new attendance lists here.');

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

        if (isset($error_repeat_date) && $error_repeat_date) {

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

                    $cal_id,

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

                    if (($end_datetime > $start_datetime) && $checkdate) {

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

                if (!$is_locked_attendance || api_is_platform_admin()) {

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

                $link_to_gradebook = true;

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

                    $users_present = $_POST['check_presence'][$cal_id];

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

                    $repeat_type = $_POST['repeat_type'];

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

        $is_locked_attendance = $attendance->is_locked_attendance($attendanceId);

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

        if (!empty($message_information)) {

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

            $attendance->category_id = isset($_POST['category_id']) ? $_POST['category_id'] : '';

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

            $link_to_gradebook = false;

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

        if (isset($error_repeat_date) && $error_repeat_date) {

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

            $student_id,

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

                if (isset($_POST['check_presence'][$cal_id])) {

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

        if (!empty($attendance_calendar)) {

There are no issues that match your filters.

Category
Status