public/main/session/index.php
Variable "user_course_list" is not in valid camel caps format Open
Open
$user_course_list = [];
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list = [];
- Exclude checks
Variable "last_date" is not in valid camel caps format Open
Open
$last_date = Tracking::get_last_connection_date_on_the_course(
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
Open
foreach ($session_list as $item) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (empty($session_id)) {
- Exclude checks
Variable "my_score" is not in valid camel caps format Open
Open
$my_score,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_path(WEB_CODE_PATH)."exercise/result.php?cid=$courseId&id={$result['exe_id']}&sid=$session_id&show_headers=1",
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array[] = [
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['sortname'] = 'date';
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$url_by_course = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_course&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "url_week" is not in valid camel caps format Open
Open
$url_week = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_week&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$url_week = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_week&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "column_exercise_model" is not in valid camel caps format Open
Open
$column_exercise_model = [
- 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 "lp_count" is not in valid camel caps format Open
Open
$lp_count = 0;
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list = SessionManager::get_users_by_session($session_id);
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array = $new_exercises = [];
- Exclude checks
Variable "url_by_course" is not in valid camel caps format Open
Open
$url_by_course = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_course&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course['autowidth'] = 'true'; //use the width of the parent
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = isset($_GET['course_id']) ? (int) $_GET['course_id'] : null;
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
$course_data['title'],
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
foreach ($lp_list as $valLp) {
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
foreach ($lp_list as $item) {
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
$mutation_date = api_strtotime($item['published_on']) > api_strtotime($lp_date_original) ? $item['published_on'] : $lp_date_original;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_path(WEB_CODE_PATH).'session/session_edit.php?page=resume_session.php&id='.$session_id
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$url_week = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_week&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "extra_params_exercise" is not in valid camel caps format Open
Open
$extra_params_exercise['autowidth'] = 'true';
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_course_url($course_data['real_id'], $session_id)
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_data['code']);
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date_original)) {
- Exclude checks
Variable "my_score" is not in valid camel caps format Open
Open
$my_score = $result['score'] / $result['max_score'];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "new_exercises" is not in valid camel caps format Open
Open
$my_real_array = array_merge($new_exercises, $my_real_array);
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['autowidth'] = 'true'; //use the width of the parent
- Exclude checks
Variable "columns_courses" is not in valid camel caps format Open
Open
$columns_courses,
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
$course_data['title'],
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
if (in_array($course_data['real_id'], $user_course_list) || api_is_anonymous()) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$exerciseCount = count($exerciseListPerCourse[$course_info['real_id']]);
- Exclude checks
Variable "max_mutation_date" is not in valid camel caps format Open
Open
$max_mutation_date = '';
- Exclude checks
Variable "max_mutation_date" is not in valid camel caps format Open
Open
$max_mutation_date = $mutation_date;
- Exclude checks
Variable "session_select" is not in valid camel caps format Open
Open
$session_select = [];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_path(WEB_CODE_PATH)."exercise/overview.php?cid=$courseId&exerciseId={$exerciseId}&sid=$session_id",
- Exclude checks
Variable "new_course_list" is not in valid camel caps format Open
Open
$new_course_list = [];
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array = array_merge($new_exercises, $my_real_array);
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
api_get_course_url($course_data['real_id'], $session_id)
- Exclude checks
Variable "column_week_model" is not in valid camel caps format Open
Open
$column_week_model = [
- Exclude checks
Variable "new_exercises" is not in valid camel caps format Open
Open
$my_real_array = $new_exercises = [];
- Exclude checks
Variable "start_date" is not in valid camel caps format Open
Open
$start_date = '-';
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week = [];
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week['grouping'] = 'true';
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "new_exercises" is not in valid camel caps format Open
Open
$new_exercises[] = [
- Exclude checks
Variable "start_date" is not in valid camel caps format Open
Open
'date' => $start_date,
- Exclude checks
Variable "column_exercise" is not in valid camel caps format Open
Open
$column_exercise = [
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array = msort($my_real_array, 'date', 'asc');
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array = msort($my_real_array, 'date', 'asc');
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$url_by_course = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_by_course&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
Session::write('id_session', $session_id);
- Exclude checks
Variable "final_array" is not in valid camel caps format Open
Open
$final_array = [];
- Exclude checks
Variable "user_course_list" is not in valid camel caps format Open
Open
if (in_array($course_data['real_id'], $user_course_list) || api_is_anonymous()) {
- Exclude checks
Variable "lp_count" is not in valid camel caps format Open
Open
'lp_count' => $lp_count,
- Exclude checks
Variable "platform_score" is not in valid camel caps format Open
Open
'result' => $platform_score,
- Exclude checks
Variable "extra_params_courses" is not in valid camel caps format Open
Open
$extra_params_courses['autowidth'] = 'true'; //use the width of the parent
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params = [];
- Exclude checks
Variable "extra_params_courses" is not in valid camel caps format Open
Open
$extra_params_courses,
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model,
- Exclude checks
Variable "user_course_list" is not in valid camel caps format Open
Open
if (empty($user_course_list)) {
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list = UserManager::get_user_list();
- Exclude checks
Variable "platform_score" is not in valid camel caps format Open
Open
$platform_score = ExerciseLib::show_score(
- Exclude checks
Variable "best_score" is not in valid camel caps format Open
Open
'best_result' => $best_score,
- Exclude checks
Variable "extra_params_courses" is not in valid camel caps format Open
Open
$extra_params_courses['height'] = '100%';
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model = [
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course = [];
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
$lp_list = $list->get_flat_list();
- Exclude checks
Variable "best_score" is not in valid camel caps format Open
Open
$best_score = ExerciseLib::show_score(
- Exclude checks
Variable "best_score_data" is not in valid camel caps format Open
Open
$best_score_data['score'],
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "allowed_time" is not in valid camel caps format Open
Open
$allowed_time = api_strtotime($exerciseInfo['start_time'], 'UTC');
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course['groupingView'] = [
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week['autowidth'] = 'true'; //use the width of the parent
- Exclude checks
Variable "column_model_courses" is not in valid camel caps format Open
Open
$column_model_courses,
- Exclude checks
Variable "new_course_list" is not in valid camel caps format Open
Open
$new_course_list
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
$lp_date_original = $item['modified_on'];
- Exclude checks
Variable "max_mutation_date" is not in valid camel caps format Open
Open
if (api_strtotime($mutation_date) > api_strtotime($max_mutation_date)) {
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
get_lang('Since your latest visit').': '.$label.' - '.$lp_date_original
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
'title' => $course_data['title'].$icons,
- Exclude checks
Variable "session_select" is not in valid camel caps format Open
Open
$session_select,
- Exclude checks
Variable "best_score" is not in valid camel caps format Open
Open
$best_score = '';
- Exclude checks
Variable "best_score_data" is not in valid camel caps format Open
Open
if (!empty($best_score_data)) {
- Exclude checks
Variable "user_course_list" is not in valid camel caps format Open
Open
$user_course_list[] = $course['real_id'];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_self().'?session_id='.$session_id
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "user_list" is not in valid camel caps format Open
Open
$user_list
- Exclude checks
Variable "new_exercises" is not in valid camel caps format Open
Open
if (!empty($new_exercises)) {
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course['height'] = "100%";
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
$mutation_date = api_strtotime($item['published_on']) > api_strtotime($lp_date_original) ? $item['published_on'] : $lp_date_original;
- Exclude checks
Variable "mutation_date" is not in valid camel caps format Open
Open
if (api_strtotime($mutation_date) > api_strtotime($max_mutation_date)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$defaults['session_id'] = $session_id;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$user_list = SessionManager::get_users_by_session($session_id);
- Exclude checks
Variable "best_score_data" is not in valid camel caps format Open
Open
$best_score_data['max_score']
- Exclude checks
Variable "my_score" is not in valid camel caps format Open
Open
$my_score = 0;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_default&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "extra_params_exercise" is not in valid camel caps format Open
Open
$extra_params_exercise['height'] = '100%';
- Exclude checks
Variable "column_model" is not in valid camel caps format Open
Open
$column_model,
- Exclude checks
Variable "column_week_model" is not in valid camel caps format Open
Open
$column_week_model,
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (empty($session_id)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session = api_get_session_entity($session_id);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$courseList = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
$course_data['title'] = Display::url(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_course_url($course_data['real_id'], $session_id)
- Exclude checks
Variable "lp_count" is not in valid camel caps format Open
Open
$lp_count++;
- Exclude checks
Variable "lp_date_original" is not in valid camel caps format Open
Open
$lp_date_original = $item['created_on'];
- Exclude checks
Variable "column_model_courses" is not in valid camel caps format Open
Open
$column_model_courses = [
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course['grouping'] = 'true';
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week['height'] = '100%';
- Exclude checks
Variable "url_week" is not in valid camel caps format Open
Open
$url_week,
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week,
- Exclude checks
Variable "column_exercise" is not in valid camel caps format Open
Open
$column_exercise,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "session_list" is not in valid camel caps format Open
Open
$session_list = SessionManager::get_sessions_by_general_coach(api_get_user_id());
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
foreach ($courseList as $course_data) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($course_data['code']);
- Exclude checks
Variable "mutation_date" is not in valid camel caps format Open
Open
$max_mutation_date = $mutation_date;
- Exclude checks
Variable "new_course_list" is not in valid camel caps format Open
Open
$new_course_list[] = [
- Exclude checks
Variable "allowed_time" is not in valid camel caps format Open
Open
if ($now < $allowed_time) {
- Exclude checks
Variable "my_real_array" is not in valid camel caps format Open
Open
$my_real_array = array_merge($new_exercises, $my_real_array);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_AJAX_PATH).'course_home.ajax.php?a=session_courses_lp_default&session_id='.$session_id.'&course_id='.$course_id;
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params['height'] = '100%';
- Exclude checks
Variable "extra_params" is not in valid camel caps format Open
Open
$extra_params,
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
api_get_course_info($course_data['code']),
- Exclude checks
Variable "mutation_date" is not in valid camel caps format Open
Open
$mutation_date = api_strtotime($item['published_on']) > api_strtotime($lp_date_original) ? $item['published_on'] : $lp_date_original;
- Exclude checks
Variable "last_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date_original)) {
- Exclude checks
Variable "session_select" is not in valid camel caps format Open
Open
$session_select[$item['id']] = $item['name'];
- Exclude checks
Variable "best_score_data" is not in valid camel caps format Open
Open
$best_score_data = ExerciseLib::get_best_attempt_in_course(
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
api_get_course_url($course_data['real_id'], $session_id)
- Exclude checks
Variable "course_data" is not in valid camel caps format Open
Open
$course_data['title'] = Display::url(
- Exclude checks
Variable "lp_list" is not in valid camel caps format Open
Open
if (!empty($lp_list)) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (false == api_is_coach_of_course_in_session($session_id)) {
- Exclude checks
Variable "session_select" is not in valid camel caps format Open
Open
if (count($session_select) > 1) {
- Exclude checks
Variable "start_date" is not in valid camel caps format Open
Open
$start_date = $exerciseInfo['start_time'];
- Exclude checks
Variable "columns_courses" is not in valid camel caps format Open
Open
$columns_courses = [
- Exclude checks
Variable "column_week" is not in valid camel caps format Open
Open
$column_week = [
- Exclude checks
Variable "extra_params_week" is not in valid camel caps format Open
Open
$extra_params_week['groupingView'] = [
- Exclude checks
Variable "extra_params_course" is not in valid camel caps format Open
Open
$extra_params_course,
- Exclude checks
Variable "url_by_course" is not in valid camel caps format Open
Open
$url_by_course,
- Exclude checks
Variable "column_week" is not in valid camel caps format Open
Open
$column_week,
- Exclude checks
Variable "column_exercise_model" is not in valid camel caps format Open
Open
$column_exercise_model,
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id,
- Exclude checks
Variable "extra_params_exercise" is not in valid camel caps format Open
Open
$extra_params_exercise,
- Exclude checks