public/main/inc/ajax/course_home.ajax.php
Variable "lp_id" is not in valid camel caps format Open
Open
$lp = new learnpath(api_get_lp_entity($lp_id), $courseInfo, $userId);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "course_url" is not in valid camel caps format Open
Open
$course_url = api_get_path(WEB_COURSE_PATH).$item['directory'].'/?id_session='.$session_id;
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['expired_on'])) {
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
foreach ($new_session_list as $item) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$flat_list = $list->get_flat_list();
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$temp[$count]['id'] = $lp_id;
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now > api_strtotime($lp_item['expired_on'], 'UTC')) {
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
if ($page > $total_pages) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = (int) $_REQUEST['course_id'];
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list = [];
- Exclude checks
Variable "progress_db" is not in valid camel caps format Open
Open
if (100 == $lp->progress_db) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$icons = Display::getMdiIcon($image, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Since your latest visit').': '.$label.' - '.$lp_date);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$temp[$count]['date'] = $lp_item['published_on'];
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info($_GET['code']);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = (int) $_REQUEST['course_id'];
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$temp[$count]['lp'] = $lp_item['lp_name'];
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = (int) $_REQUEST['session_id'];
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list[] = $item['session_id'];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($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
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
foreach ($course_list as $item) {
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list = [];
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
WHERE c_id = ".$course_info['real_id']." AND session_id = 0
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$lps[$item['code']] = $flat_list;
- Exclude checks
Variable "last_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->total = $total_pages;
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
if (!empty($course_info)) {
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
$new_session_list = UserManager::get_personal_session_course_list(api_get_user_id());
- Exclude checks
Variable "course_url" is not in valid camel caps format Open
Open
$item['title'] = Display::url($item['title'], $course_url, ['target' => SESSION_LINK_TARGET]);
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- 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_id" is not in valid camel caps format Open
Open
$session_id = (int) $_REQUEST['session_id'];
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
COURSE_VISIBILITY_REGISTERED == $course_info['visibility']
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$date = substr($lp_item['published_on'], 0, 10);
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
$new_session_list = UserManager::get_personal_session_course_list(api_get_user_id());
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list[] = $item['session_id'];
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
foreach ($new_session_list as $item) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now < api_strtotime($lp_item['published_on'], 'UTC')) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$list = new LearnpathList($userId, $courseInfo, $session_id);
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = 0;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$course_url = api_get_path(WEB_COURSE_PATH).$item['directory'].'/?id_session='.$session_id;
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->page = $total_pages;
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (empty($lp_item['modified_on'])) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = ceil($count / $limit);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if (isset($course_id) && !empty($course_id)) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$temp[$count]['id'] = $lp_id;
- Exclude checks
Variable "week_data" is not in valid camel caps format Open
Open
$week_data = '';
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->total = $total_pages;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if (isset($course_id) && !empty($course_id)) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
foreach ($course_list as $item) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
if ($page > $total_pages) {
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
foreach ($new_session_list as $item) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if (isset($course_id) && !empty($course_id)) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "last_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->page = $total_pages;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- 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 "lp_item" is not in valid camel caps format Open
Open
$date = substr($lp_item['published_on'], 0, 10);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = (int) $_REQUEST['course_id'];
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now < api_strtotime($lp_item['published_on'], 'UTC')) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = ceil($count / $limit);
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$lps[$item['code']] = $flat_list;
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$temp[$count]['id'] = $lp_id;
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['expired_on'])) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_path(WEB_COURSE_PATH).$item['directory'].'/?id_session='.$session_id,
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->page = $total_pages;
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if ($course_id != $item['id']) {
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- 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_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$flat_list = $list->get_flat_list();
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$week_data = date('Y', api_strtotime($lp_item['published_on'], 'UTC')).' - '.get_week_from_day($lp_item['published_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
Display::url($icons.' '.$lp_item['lp_name'], $lp_url, ['target' => SESSION_LINK_TARGET]),
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
api_get_path(WEB_COURSE_PATH).$item['directory'].'/?id_session='.$session_id,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (empty($lp_item['modified_on'])) {
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$icons = Display::getMdiIcon($image, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Since your latest visit').': '.$label.' - '.$lp_date);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$date = substr($lp_item['published_on'], 0, 10);
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "lp_url" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "last_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now < api_strtotime($lp_item['published_on'], 'UTC')) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (!in_array($session_id, $my_session_list)) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$temp[$count]['date'] = $lp_item['published_on'];
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now > api_strtotime($lp_item['expired_on'], 'UTC')) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$response->total = $total_pages;
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list[] = $item['session_id'];
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$temp[$count]['lp'] = $lp_item['lp_name'];
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
if (strtotime($last_date) < strtotime($lp_date)) {
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
$lp_url = api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?cidReq='.$item['code'].'&id_session='.$session_id.'&lp_id='.$lp_id.'&action=view';
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$icons = Display::getMdiIcon($image, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Since your latest visit').': '.$label.' - '.$lp_date);
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$flat_list = $list->get_flat_list();
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if ($now > api_strtotime($lp_item['expired_on'], 'UTC')) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = 0;
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
if ($page > $total_pages) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['expired_on'])) {
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = 0;
- Exclude checks
Variable "my_session_list" is not in valid camel caps format Open
Open
$my_session_list = [];
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['modified_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$week_data = date('Y', api_strtotime($lp_item['published_on'], 'UTC')).' - '.get_week_from_day($lp_item['published_on']);
- Exclude checks
Variable "week_data" is not in valid camel caps format Open
Open
$week_data,
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = (int) $_REQUEST['session_id'];
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
foreach ($course_list as $item) {
- Exclude checks
Variable "flat_list" is not in valid camel caps format Open
Open
$lps[$item['code']] = $flat_list;
- Exclude checks
Variable "lp_id" is not in valid camel caps format Open
Open
foreach ($flat_list as $lp_id => $lp_item) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if ($course_id != $item['id']) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (empty($lp_item['modified_on'])) {
- Exclude checks
Variable "week_data" is not in valid camel caps format Open
Open
$week_data = date('Y', api_strtotime($lp_item['published_on'], 'UTC')).' - '.get_week_from_day($lp_item['published_on']);
- Exclude checks
Variable "total_pages" is not in valid camel caps format Open
Open
$total_pages = ceil($count / $limit);
- Exclude checks
Variable "new_session_list" is not in valid camel caps format Open
Open
$new_session_list = UserManager::get_personal_session_course_list(api_get_user_id());
- Exclude checks
Variable "course_list" is not in valid camel caps format Open
Open
$course_list = SessionManager::get_course_list_by_session_id($session_id);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
if (isset($course_id) && !empty($course_id)) {
- Exclude checks
Variable "lp_date" is not in valid camel caps format Open
Open
$lp_date = api_get_local_time($lp_item['created_on']);
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
if (!empty($lp_item['published_on'])) {
- Exclude checks
Variable "lp_item" is not in valid camel caps format Open
Open
$temp[$count]['lp'] = $lp_item['lp_name'];
- Exclude checks