chamilo/chamilo-lms

View on GitHub
public/main/tracking/total_time.php

Summary

Maintainability
A
0 mins
Test Coverage

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

    $from_myspace = true;

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

    $this_section = 'session_my_space';

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

$TABLETRACK_EXERCISES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);

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

if (!empty($session_id)) {

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

$export_csv = isset($_GET['export']) && 'csv' == $_GET['export'] ? true : false;

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

    $users_tracking_per_page = '&users_tracking_per_page='.intval($_GET['users_tracking_per_page']);

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

$form_search->addElement('hidden', 'from', Security::remove_XSS($from));

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

$from_myspace = false;

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

$form_search->addElement('hidden', 'id_session', $sessionId);

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

if ($session_id) {

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

    $titleSession = Display::getMdiIcon(ObjectIcon::SESSION, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Session')).' '.api_get_session_name($session_id);

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

        $session_id,

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

$actionsRight .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&export=csv&'.$users_tracking_per_page.'">

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

$table_user = Database::get_main_table(TABLE_MAIN_USER);

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

if ($export_csv) {

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

        Session::write('id_session', $session_id);

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

    [$actionsLeft, $form_search->returnForm(), $actionsRight]

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

$is_allowedToTrack = Tracking::isAllowToTrack($session_id);

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

    if (!empty($session_id)) {

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

$nbStudents = count($a_students);

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

$users_tracking_per_page = '';

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

$current_course_tool = TOOL_TRACKING;

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

if (empty($session_id)) {

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

$form_search->addButtonSearch(get_lang('Search users'));

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

    $a_students = CourseManager::get_student_list_from_course_code(

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

$form_search->addElement('text', 'user_keyword');

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

$course_name = get_lang('Course').' '.$courseInfo['title'];

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

    $user_ids = array_keys($a_students);

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

    $a_students = CourseManager::get_student_list_from_course_code(

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

$form_search->addElement('hidden', 'session_id', $sessionId);

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

    $titleCourse = Display::getMdiIcon(ObjectIcon::COURSE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Course')).' '.$course_name;

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

$session_id = isset($_REQUEST['id_session']) ? intval($_REQUEST['id_session']) : 0;

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

$this_section = SECTION_COURSES;

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

$is_allowedToTrack = Tracking::isAllowToTrack($session_id);

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

$csv_content = [];

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

$is_western_name_order = api_is_western_name_order();

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

    $parameters['sid'] = $session_id;

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

if (!$is_allowedToTrack) {

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

$form_search = new FormValidator(

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

    if ($is_western_name_order) {

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

    $all_datas = [];

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

    $user_ids = array_keys($a_students);

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

    $table->setDataFunctionParams(['cid' => api_get_course_int_id(), 'sid' => $session_id]);

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

if (count($a_students) > 0) {

There are no issues that match your filters.

Category
Status