public/main/my_space/index.php
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "nb_inactive_students" is not in valid camel caps format Open
Open
$report['InactivesStudents'] = $nb_inactive_students;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$is_coach = api_is_coach($session_id);
- Exclude checks
Variable "is_drh" is not in valid camel caps format Open
Open
if ($is_drh) {
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content = [];
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items = [];
- Exclude checks
Variable "avg_courses_per_student" is not in valid camel caps format Open
Open
$avg_courses_per_student = $countCourses / $numberStudents;
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "avg_courses_per_student" is not in valid camel caps format Open
Open
round($avg_courses_per_student, 3),
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "nb_menu_items" is not in valid camel caps format Open
Open
if ($nb_menu_items > 1) {
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
foreach ($menu_items as $key => $item) {
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
$export_csv = isset($_GET['export']) && 'csv' === $_GET['export'] ? true : false;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = isset($_GET['session_id']) ? (int) $_GET['session_id'] : 0;
- Exclude checks
Variable "avg_courses_per_student" is not in valid camel caps format Open
Open
$avg_courses_per_student = 0;
- Exclude checks
Variable "nb_inactive_students" is not in valid camel caps format Open
Open
$csv_content[] = [get_lang('InactivesLearners'), $nb_inactive_students];
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (!empty($session_id) &&
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
Export:: arrayToCsv($csv_content, 'reporting_index');
- Exclude checks
Variable "is_session_admin" is not in valid camel caps format Open
Open
if ($is_session_admin) {
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
if ($is_platform_admin) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [get_lang('Learners')];
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [get_lang('InactivesLearners'), $nb_inactive_students];
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (empty($session_id) ||
- Exclude checks
Variable "total_time_spent" is not in valid camel caps format Open
Open
$total_time_spent = 0;
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [get_lang('Time spent on portal'), $totalTimeSpent];
- 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[] = [get_lang('Average assignments per learner'), $numberAssignments];
- Exclude checks
Variable "avg_courses_per_student" is not in valid camel caps format Open
Open
$report['AverageCoursePerStudent'] = is_null($avg_courses_per_student)
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_TRACKING;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = api_get_user_id();
- Exclude checks
Variable "is_coach" is not in valid camel caps format Open
Open
$is_coach = api_is_coach($session_id);
- Exclude checks
Variable "nb_inactive_students" is not in valid camel caps format Open
Open
$nb_inactive_students = 0;
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
if ($export_csv) {
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "is_session_admin" is not in valid camel caps format Open
Open
$is_session_admin = api_is_session_admin();
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$nb_menu_items = count($menu_items);
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [get_lang('Posts in forum'), $posts];
- Exclude checks
Variable "total_courses" is not in valid camel caps format Open
Open
$total_courses = 0;
- Exclude checks
Variable "export_csv" is not in valid camel caps format Open
Open
if ($export_csv) {
- Exclude checks
Variable "is_platform_admin" is not in valid camel caps format Open
Open
$is_platform_admin = api_is_platform_admin();
- Exclude checks
Variable "is_drh" is not in valid camel caps format Open
Open
$is_drh = api_is_drh();
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "menu_items" is not in valid camel caps format Open
Open
$menu_items[] = Display::url(
- Exclude checks
Variable "is_coach" is not in valid camel caps format Open
Open
if ($is_coach) {
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
'user_import.php?id_session='.$session_id.'&action=export&type=xml'
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
'user_import.php?id_session='.$session_id.'&action=export&type=xml'
- Exclude checks
Variable "csv_content" is not in valid camel caps format Open
Open
$csv_content[] = [];
- Exclude checks
Variable "nb_menu_items" is not in valid camel caps format Open
Open
$nb_menu_items = count($menu_items);
- Exclude checks
Variable "avg_courses_per_student" is not in valid camel caps format Open
Open
: round($avg_courses_per_student, 3);
- Exclude checks