chamilo/chamilo-lms

View on GitHub
public/main/my_space/lp_tracking.php

Summary

Maintainability
A
0 mins
Test Coverage

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

$from_myspace = false;

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

    !Tracking::is_allowed_to_coach_student(api_get_user_id(), $user_id)

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

    $from_link = '&from=myspace';

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

$lp_title = $lp->getTitle();

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

echo Display::page_header($table_title);

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

$from_link = '';

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

    $this_section = SECTION_COURSES;

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

$csv_content = [];

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

if (empty($courseInfo) || empty($lp_id)) {

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

$lp = $lpRepo->find($lp_id);

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

$session_id = isset($_REQUEST['id_session']) ? (int) $_REQUEST['id_session'] : api_get_session_id();

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

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

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

$userInfo = api_get_user_info($user_id);

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

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

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

    $interbreadcrumb[] = ['url' => "myStudents.php?student=$user_id", 'name' => get_lang('Learner details')];

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

$user_id = isset($_GET['student_id']) ? (int) $_GET['student_id'] : api_get_user_id();

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

    $this_section = SECTION_TRACKING;

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

$table_title = $session_id

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

$table_title .= Display::getMdiIcon(ObjectIcon::COURSE, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Course')).PHP_EOL.$courseInfo['name'].PHP_EOL

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

    'url' => "myStudents.php?student=$user_id&course=$courseCode&details=true&origin=$origin",

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

    Display::getMdiIcon(ObjectIcon::LP, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Learning path')).PHP_EOL.$lp_title

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

$table_title = $session_id

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

$export_csv = isset($_GET['export']) && 'csv' === $_GET['export'];

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

        'url' => "../tracking/courseLog.php?cid=$courseId&sid=$session_id",

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

$isBoss = UserManager::userIsBossOfStudent(api_get_user_id(), $user_id);

There are no issues that match your filters.

Category
Status