public/main/lp/lp_view_item.php
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if (!$is_allowed_to_edit || $isStudentView) {
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'url' => api_get_self()."?action=add_item&type=step&lp_id=$learnpath_id&".api_get_cidreq(),
- Exclude checks
Variable "lp_theme_css" is not in valid camel caps format Open
Open
$lp_theme_css = $lp->get_theme();
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Closing brace must be on a line by itself Open
Open
echo $lp->return_new_tree(); exit;
- Exclude checks
Variable "real_url_info" is not in valid camel caps format Open
Open
$real_url_info = parse_url(api_get_path(WEB_PATH));
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
header('Location: '.api_get_path(WEB_CODE_PATH).'lp/lp_controller.php?action=view&lp_id='.$learnpath_id.'&'.api_get_cidreq());
- Exclude checks
Terminating statement must be on a line by itself Open
Open
echo $lp->return_new_tree(); exit;
- Exclude checks
Variable "url_info" is not in valid camel caps format Open
Open
$url_info = parse_url($src);
- Exclude checks
Variable "real_url_info" is not in valid camel caps format Open
Open
if ($url_info['host'] == $real_url_info['host']) {
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
'url' => api_get_self()."?action=add_item&lp_id=$learnpath_id&".api_get_cidreq(),
- Exclude checks
Variable "new_item_id" is not in valid camel caps format Open
Open
$id = isset($new_item_id) ? $new_item_id : $_GET['id'];
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$lp_item_id = (int) $_GET['lp_item_id'];
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "url_info" is not in valid camel caps format Open
Open
if ($url_info['host'] == $real_url_info['host']) {
- Exclude checks
Variable "new_item_id" is not in valid camel caps format Open
Open
$id = isset($new_item_id) ? $new_item_id : $_GET['id'];
- Exclude checks
Each PHP statement must be on a line by itself Open
Open
echo $lp->return_new_tree(); exit;
- Exclude checks
Variable "lp_item_id" is not in valid camel caps format Open
Open
$src = $lp->get_link('http', $lp_item_id);
- 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(null, true);
- Exclude checks
Variable "learnpath_id" is not in valid camel caps format Open
Open
$learnpath_id = (int) $_REQUEST['lp_id'];
- Exclude checks
Variable "show_learn_path" is not in valid camel caps format Open
Open
$show_learn_path = true;
- Exclude checks
Closing brace must be on a line by itself Open
Open
echo $lp->return_new_tree(); exit;
- Exclude checks