chamilo/chamilo-lms

View on GitHub
public/main/dropbox/dropbox_init.inc.php

Summary

Maintainability
A
0 mins
Test Coverage

Variable "session_id" is not in valid camel caps format
Open

        $session_id

Variable "dropbox_person" is not in valid camel caps format
Open

    $dropbox_person = new Dropbox_Person(

Variable "checked_file_ids" is not in valid camel caps format
Open

    $checked_file_ids = $_POST['id'];

Variable "user_id" is not in valid camel caps format
Open

        $user_id,

Variable "is_courseAdmin" is not in valid camel caps format
Open

        $is_courseAdmin,

Variable "dropbox_person" is not in valid camel caps format
Open

    if (isset($dropbox_person)) {

Variable "dropbox_person" is not in valid camel caps format
Open

            $javascript .= "'".$dropbox_person->sentWork[$i]->title."'";

Variable "is_courseAdmin" is not in valid camel caps format
Open

$is_courseAdmin = api_is_course_admin();

Variable "user_id" is not in valid camel caps format
Open

$user_id = api_get_user_id();

Variable "user_id" is not in valid camel caps format
Open

        $user_id,

Variable "is_course_member" is not in valid camel caps format
Open

    $is_course_member = CourseManager::is_user_subscribed_in_course(

Variable "dropbox_person" is not in valid camel caps format
Open

        for ($i = 0; $i < count($dropbox_person->sentWork); $i++) {

Variable "is_course_member" is not in valid camel caps format
Open

if ((!$is_allowed_in_course || !$is_course_member) &&

Variable "session_id" is not in valid camel caps format
Open

$session_id = api_get_session_id();

Variable "course_info" is not in valid camel caps format
Open

$course_info = api_get_course_info($course_code);

Variable "checked_file_ids" is not in valid camel caps format
Open

    if (!is_array($checked_file_ids) || 0 == count($checked_file_ids)) {

Variable "course_code" is not in valid camel caps format
Open

$course_code = api_get_course_id();

Variable "is_allowed_in_course" is not in valid camel caps format
Open

$is_allowed_in_course = api_is_allowed_in_course();

Variable "is_courseTutor" is not in valid camel caps format
Open

$is_courseTutor = api_is_course_tutor();

Variable "course_code" is not in valid camel caps format
Open

        $course_code,

Variable "is_courseTutor" is not in valid camel caps format
Open

        $is_courseTutor

Variable "course_code" is not in valid camel caps format
Open

        $course_code,

Variable "checked_files" is not in valid camel caps format
Open

$checked_files = false;

Variable "current_course_tool" is not in valid camel caps format
Open

$current_course_tool = TOOL_DROPBOX;

Variable "session_id" is not in valid camel caps format
Open

if (empty($session_id)) {

Variable "user_id" is not in valid camel caps format
Open

        $user_id,

Variable "is_allowed_in_course" is not in valid camel caps format
Open

if ((!$is_allowed_in_course || !$is_course_member) &&

Variable "course_code" is not in valid camel caps format
Open

$course_info = api_get_course_info($course_code);

Variable "is_course_member" is not in valid camel caps format
Open

    $is_course_member = CourseManager::is_user_subscribed_in_course(

Variable "checked_file_ids" is not in valid camel caps format
Open

    if (!is_array($checked_file_ids) || 0 == count($checked_file_ids)) {

There are no issues that match your filters.

Category
Status