public/main/work/upload.php
Variable "user_id" is not in valid camel caps format Open
Open
$user_id,
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
$url = api_get_path(WEB_AJAX_PATH).'work.ajax.php?'.api_get_cidreq().'&a=upload_file&id='.$work_id;
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
$work_id = isset($_REQUEST['id']) ? (int) $_REQUEST['id'] : null;
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_code = $course_info['code'];
- Exclude checks
Variable "student_can_edit_in_session" is not in valid camel caps format Open
Open
} elseif ($student_can_edit_in_session && false == $validationStatus['has_ended']) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info = api_get_course_info();
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
'url' => api_get_path(WEB_CODE_PATH).'work/work_list.php?'.api_get_cidreq().'&id='.$work_id,
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
api_get_self().'?'.api_get_cidreq().'&id='.$work_id,
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
protectWork($course_info, $work_id);
- Exclude checks
Variable "is_course_member" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code, true, $session_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code, true, $session_id);
- Exclude checks
Variable "is_course_member" is not in valid camel caps format Open
Open
if (false == $is_course_member || api_is_invitee()) {
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_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();
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
$course_info,
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$course_code = $course_info['code'];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code, true, $session_id);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code, true, $session_id);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id,
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
$workInfo = get_work_data_by_id($work_id);
- Exclude checks
Variable "is_course_member" is not in valid camel caps format Open
Open
$is_course_member = $is_course_member || api_is_platform_admin();
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
if (!empty($work_id)) {
- Exclude checks
Variable "course_info" is not in valid camel caps format Open
Open
protectWork($course_info, $work_id);
- Exclude checks
Variable "student_can_edit_in_session" is not in valid camel caps format Open
Open
$student_can_edit_in_session = api_is_allowed_to_session_edit(false, true);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code);
- Exclude checks
Variable "this_section" is not in valid camel caps format Open
Open
$this_section = SECTION_COURSES;
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "is_course_member" is not in valid camel caps format Open
Open
$is_course_member = $is_course_member || api_is_platform_admin();
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
$count = get_work_count_by_student($user_id, $work_id);
- Exclude checks
Variable "is_course_member" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code);
- Exclude checks
Variable "student_can_edit_in_session" is not in valid camel caps format Open
Open
if ($student_can_edit_in_session) {
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
if (api_resource_is_locked_by_gradebook($work_id, LINK_STUDENTPUBLICATION)) {
- Exclude checks
Variable "group_id" is not in valid camel caps format Open
Open
$group_id = api_get_group_id();
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
if (empty($work_id)) {
- Exclude checks
Variable "current_course_tool" is not in valid camel caps format Open
Open
$current_course_tool = TOOL_STUDENTPUBLICATION;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
Open
$course_id = api_get_course_int_id();
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$user_id = api_get_user_id();
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
$session_id = api_get_session_id();
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
Open
if (empty($session_id)) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$count = get_work_count_by_student($user_id, $work_id);
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
$form->addHidden('id', $work_id);
- Exclude checks
Variable "work_id" is not in valid camel caps format Open
Open
header('Location: '.api_get_path(WEB_CODE_PATH).'work/'.$script.'?'.api_get_cidreq().'&id='.$work_id);
- Exclude checks
Variable "is_allowed_to_edit" is not in valid camel caps format Open
Open
if ($is_allowed_to_edit) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
Open
$is_course_member = CourseManager::is_user_subscribed_in_course($user_id, $course_code);
- Exclude checks