chamilo/chamilo-lms

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

Summary

Maintainability
A
0 mins
Test Coverage

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

$id_coach = api_get_user_id();

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

        $menu_items[] = Display::url(

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

$this_section = SECTION_TRACKING;

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

                        <td >'.$time_spent_on_course.'</td>

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

    $export_csv = true;

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

                        $time_spent_on_course = api_time_to_hms($timeInSeconds);

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

    $a_sessions = SessionManager::get_sessions_followed_by_drh(api_get_user_id());

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

$export_csv = false;

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

    $id_coach = (int) $_REQUEST['id_coach'];

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

        $menu_items[] = Display::url(

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

        $menu_items[] = Display::url(

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

    $a_sessions = Tracking::get_sessions_coached_by_user($id_coach);

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

        $menu_items[] = Display::url(

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

    $nb_menu_items = count($menu_items);

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

    if (count($a_sessions) > 0) {

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

    if ($nb_menu_items > 1) {

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

        $menu_items[] = Display::url(

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

        foreach ($menu_items as $key => $item) {

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

        $menu_items[] = Display::url(

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

        $menu_items[] = Display::url(

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

    $a_sessions = Tracking::get_sessions_coached_by_user($id_coach);

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

        $menu_items[] = Display::url(

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

    $menu_items[] = Display::url(

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

    $nb_menu_items = count($menu_items);

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

    $menu_items[] = Display::url(

There are no issues that match your filters.

Category
Status