public/main/lp/lp_view.php
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = isset($_REQUEST['cid']) ? (int) $_REQUEST['cid'] : api_get_course_int_id();
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
$file_info = parse_url($src);
- Exclude checks
Variable "display_none" is not in valid camel caps format Open
Open
$display_none = '';
- Exclude checks
Variable "time_min" is not in valid camel caps format Open
Open
$lpMinTime = '('.$time_min.' min)';
- Exclude checks
Variable "time_min" is not in valid camel caps format Open
Open
if ($lpTime >= ($time_min * 60)) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = $courseInfo['code'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course = api_get_course_entity($course_id);
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$src = api_get_path(WEB_CODE_PATH).'lp/lp_view_item.php?lp_item_id='.$lp_item_id.'&'.api_get_cidreq();
- Exclude checks
Variable "safe_item_id" is not in valid camel caps format Open
Open
if (!empty($safe_id) && !empty($safe_item_id)) {
- Exclude checks
Variable "my_style" is not in valid camel caps format Open
Open
$lp_theme_css = $my_style;
- Exclude checks
Variable "show_audioplayer" is not in valid camel caps format Open
Open
$show_audioplayer = false;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$userScore = $gradebookLinks[0]->calc_score($user_id, 'best');
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
$template->assign('is_allowed_to_edit', $is_allowed_to_edit);
- Exclude checks
Variable "use_anonymous" is not in valid camel caps format Open
Open
$use_anonymous = true;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_CODE_PATH)."lp/lp_impress.php?lp_id=$lp_id&".api_get_cidreq();
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
$get_toc_list = $oLP->get_toc();
- Exclude checks
Variable "TBL_LP_ITEM_VIEW" is not in valid camel caps format Open
Open
$TBL_LP_ITEM_VIEW = Database::get_course_table(TABLE_LP_ITEM_VIEW);
- Exclude checks
Variable "margin_left" is not in valid camel caps format Open
Open
$margin_left = '340px';
- Exclude checks
Variable "progress_bar" is not in valid camel caps format Open
Open
$template->assign('progress_bar', $progress_bar);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id = !empty($_GET['lp_id']) ? (int) $_GET['lp_id'] : 0;
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$time_progress_value = 100;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = api_get_user_id();
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$preReqCheck = $oLP->prerequisites_match($lp_item_id);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
Exercise::saveExerciseInLp($safe_item_id, $safe_exe_id, $course_id);
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$oLP->set_previous_item($lp_item_id);
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
$lp_theme_css = $my_style;
- Exclude checks
Variable "navigation_bar" is not in valid camel caps format Open
Open
$navigation_bar = $oLP->get_navigation_bar();
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$tbl_lp_item = Database::get_course_table(TABLE_LP_ITEM);
- Exclude checks
Variable "tbl_lp_item" is not in valid camel caps format Open
Open
$sql = "SELECT audio FROM $tbl_lp_item
- Exclude checks
Variable "res_media" is not in valid camel caps format Open
Open
$res_media = Database::query($sql);
- Exclude checks
Variable "row_media" is not in valid camel caps format Open
Open
if (!empty($row_media['audio'])) {
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
$is_allowed_to_edit = api_is_allowed_to_edit(false, true, true, false);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id,
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$template->assign('time_progress_value', $time_progress_value);
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$lp_item_id,
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
$get_toc_list
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
$src = $oLP->get_link('http', $lp_item_id, $get_toc_list);
- Exclude checks
Variable "safe_id" is not in valid camel caps format Open
Open
if (!empty($safe_id) && !empty($safe_item_id)) {
- Exclude checks
Variable "get_teacher_buttons" is not in valid camel caps format Open
Open
$get_teacher_buttons = $oLP->get_teacher_toc_buttons();
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$src = $oLP->get_link('http', $lp_item_id, $get_toc_list);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$gradebookLinks[0]->get_ref_id() == $oLP->lp_id
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lpTime = isset($lpTimeList[TOOL_LEARNPATH][$lp_id]) ? (int) $lpTimeList[TOOL_LEARNPATH][$lp_id] : 0;
- Exclude checks
Variable "time_progress_perc" is not in valid camel caps format Open
Open
$time_progress_perc = '100%';
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$lp_item_id = $oLP->get_current_item_id();
- Exclude checks
Variable "type_quiz" is not in valid camel caps format Open
Open
$type_quiz = 'quiz' === $toc['type'];
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$lp_item_id,
- Exclude checks
Variable "TBL_TRACK_EXERCICES" is not in valid camel caps format Open
Open
$TBL_TRACK_EXERCICES = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES);
- Exclude checks
Variable "show_audioplayer" is not in valid camel caps format Open
Open
$show_audioplayer = true;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$lpTimeList = Tracking::getCalculateTime($user_id, api_get_course_int_id(), api_get_session_id());
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_id = $lp->getIid();
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
Session::write('scorm_item_id', $lp_item_id);
- Exclude checks
Variable "safe_item_id" is not in valid camel caps format Open
Open
$safe_item_id = (int) $_REQUEST['lp_item_id'];
- Exclude checks
Variable "scorm_css_header" is not in valid camel caps format Open
Open
$scorm_css_header = true;
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
$lp_theme_css = $oLP->get_theme();
- Exclude checks
Variable "display_mode" is not in valid camel caps format Open
Open
$display_mode = $lp->getDefaultViewMod();
- Exclude checks
Variable "scorm_css_header" is not in valid camel caps format Open
Open
$scorm_css_header = true;
- Exclude checks
Variable "res_media" is not in valid camel caps format Open
Open
if (Database::num_rows($res_media) > 0) {
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
$template->assign('toc_list', $get_toc_list);
- Exclude checks
Variable "get_teacher_buttons" is not in valid camel caps format Open
Open
$template->assign('teacher_toc_buttons', $get_teacher_buttons);
- Exclude checks
Variable "time_min" is not in valid camel caps format Open
Open
$time_min = (int) ($pl * $tc * $perc / 100);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
if (empty($lp_id)) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
chamilo_courseCode = "'.$course_code.'";
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
$file_info = pathinfo($file_info['path']);
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
if (isset($file_info['extension']) &&
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
'pdf' === api_strtolower(substr($file_info['extension'], 0, 3))
- Exclude checks
Variable "TBL_LP_ITEM" is not in valid camel caps format Open
Open
$TBL_LP_ITEM = Database::get_course_table(TABLE_LP_ITEM);
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
$lp_theme_css = $lp->getTheme();
- Exclude checks
Variable "progress_bar" is not in valid camel caps format Open
Open
$progress_bar = '';
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$courseInfo = api_get_course_info_by_id($course_id);
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
foreach ($get_toc_list as $toc) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
error_log('$lp_id: '.$lp_id);
- Exclude checks
Variable "res_media" is not in valid camel caps format Open
Open
while ($row_media = Database::fetch_array($res_media)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
Category::generateUserCertificate($categoryEntity, $user_id);
- Exclude checks
Variable "navigation_bar" is not in valid camel caps format Open
Open
$template->assign('navigation_bar', $navigation_bar);
- Exclude checks
Variable "navigation_bar_bottom" is not in valid camel caps format Open
Open
$template->assign('navigation_bar_bottom', $navigation_bar_bottom);
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$time_progress_value = intval(($lpTime * 100) / ($time_min * 60));
- Exclude checks
Variable "time_progress_perc" is not in valid camel caps format Open
Open
$time_progress_perc = $time_progress_value.'%';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user = api_get_user_entity($user_id);
- Exclude checks
Variable "get_toc_list" is not in valid camel caps format Open
Open
$get_toc_list
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$safe_id = $lp_id;
- Exclude checks
Variable "progress_bar" is not in valid camel caps format Open
Open
$progress_bar = $oLP->getProgressBar();
- Exclude checks
Variable "time_min" is not in valid camel caps format Open
Open
$time_progress_value = intval(($lpTime * 100) / ($time_min * 60));
- Exclude checks
Variable "time_progress_perc" is not in valid camel caps format Open
Open
$template->assign('time_progress_perc', $time_progress_perc);
- Exclude checks
Variable "type_quiz" is not in valid camel caps format Open
Open
$type_quiz = false;
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$preReqCheck = $oLP->prerequisites_match($lp_item_id);
- Exclude checks
Variable "type_quiz" is not in valid camel caps format Open
Open
error_log('$type_quiz: '.$type_quiz);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
isset($lp_id) &&
- Exclude checks
Variable "safe_id" is not in valid camel caps format Open
Open
$safe_id = $lp_id;
- Exclude checks
Variable "safe_item_id" is not in valid camel caps format Open
Open
Exercise::saveExerciseInLp($safe_item_id, $safe_exe_id, $course_id);
- Exclude checks
Variable "save_setting" is not in valid camel caps format Open
Open
$save_setting = api_get_setting('show_navigation_menu');
- Exclude checks
Variable "navigation_bar_bottom" is not in valid camel caps format Open
Open
$navigation_bar_bottom = $oLP->get_navigation_bar('control-bottom');
- Exclude checks
Variable "row_media" is not in valid camel caps format Open
Open
while ($row_media = Database::fetch_array($res_media)) {
- Exclude checks
Variable "my_style" is not in valid camel caps format Open
Open
$my_style = Container::getThemeHelper()->getVisualTheme();
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
if (isset($file_info['path'])) {
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$preReqCheck = $oLP->prerequisites_match($lp_item_id);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lpTime = isset($lpTimeList[TOOL_LEARNPATH][$lp_id]) ? (int) $lpTimeList[TOOL_LEARNPATH][$lp_id] : 0;
- Exclude checks
Variable "safe_exe_id" is not in valid camel caps format Open
Open
$safe_exe_id = (int) $_REQUEST['exeId'];
- Exclude checks
Variable "show_audioplayer" is not in valid camel caps format Open
Open
$template->assign('show_audio_player', $show_audioplayer);
- Exclude checks
Variable "file_info" is not in valid camel caps format Open
Open
$file_info = pathinfo($file_info['path']);
- Exclude checks
Variable "safe_exe_id" is not in valid camel caps format Open
Open
Exercise::saveExerciseInLp($safe_item_id, $safe_exe_id, $course_id);
- Exclude checks
Variable "safe_exe_id" is not in valid camel caps format Open
Open
$src = api_get_path(WEB_CODE_PATH).'exercise/result.php?id='.$safe_exe_id.'&'.api_get_cidreq(true, true, 'learnpath');
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
if (!empty($lp_theme_css) && !empty($mycourselptheme) && -1 != $mycourselptheme && 1 == $mycourselptheme) {
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "time_progress_value" is not in valid camel caps format Open
Open
$time_progress_perc = $time_progress_value.'%';
- Exclude checks