chamilo/chamilo-lms

View on GitHub
src/CourseBundle/Component/CourseCopy/CourseRecycler.php

Summary

Maintainability
A
0 mins
Test Coverage

The method recycle_documents uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Open

        } else {
            if ($this->course->has_resources(RESOURCE_DOCUMENT)) {
                foreach ($this->course->resources[RESOURCE_DOCUMENT] as $document) {
                    rmdirr($this->course->backup_path.'/'.$document->path);
                }

ElseExpression

Since: 1.4.0

An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

Example

class Foo
{
    public function bar($flag)
    {
        if ($flag) {
            // one branch
        } else {
            // another branch
        }
    }
}

Source https://phpmd.org/rules/cleancode.html#elseexpression

Avoid unused local variables such as '$obj'.
Open

            foreach ($resources[RESOURCE_WORK] as $last_id => $obj) {

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

Avoid unused parameters such as '$session_id'.
Open

    public function recycle_work($session_id = 0)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$session_id'.
Open

    public function recycle_attendance($session_id = 0)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused parameters such as '$session_id'.
Open

    public function recycle_thematic($session_id = 0)

UnusedFormalParameter

Since: 0.2

Avoid passing parameters to methods or constructors and then not using those parameters.

Example

class Foo
{
    private function bar($howdy)
    {
        // $howdy is not used
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

Avoid unused local variables such as '$id'.
Open

            foreach ($this->course->resources[RESOURCE_LEARNPATH_CATEGORY] as $id => $learnpathCategory) {

UnusedLocalVariable

Since: 0.2

Detects when a local variable is declared and/or assigned, but not used.

Example

class Foo {
    public function doSomething()
    {
        $i = 5; // Unused
    }
}

Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable

The parameter $session_id is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The parameter $session_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

The parameter $session_id is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseParameterName

Since: 0.2

It is considered best practice to use the camelCase notation to name parameters.

Example

class ClassName {
    public function doSomething($user_name) {
    }
}

Source

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

        $table_forum = Database::get_course_table(TABLE_FORUM);

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

        $table_mail_queue = Database::get_course_table(TABLE_FORUM_MAIL_QUEUE);

Method name "CourseRecycler::recycle_wiki" is not in camel caps format
Open

    public function recycle_wiki()

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

                    $sql = "DELETE FROM $table_item_properties

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

                            WHERE c_id = ".$this->course_id." AND tool ='".$resource->get_tool()."' AND ref=".$id;

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

            $sql = "DELETE FROM $table WHERE c_id = ".$this->course_id;

Method name "CourseRecycler::recycle_glossary" is not in camel caps format
Open

    public function recycle_glossary()

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

                $pages[] = $resource->page_id;

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

            if (!empty($wiki_ids)) {

Method name "CourseRecycler::recycle_links" is not in camel caps format
Open

    public function recycle_links()

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

        $table_notification = Database::get_course_table(TABLE_FORUM_NOTIFICATION);

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

        $this->course_id = $this->course_info['real_id'];

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

                        WHERE c_id = ".$this->course_id.' AND glossary_id IN('.$ids.')';

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

        $this->course_info = api_get_course_info($this->course->code);

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

            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

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

                        WHERE c_id = '.$this->course_id.' AND page_id IN('.$page_ids.')';

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

                        WHERE c_id = '.$this->course_id.' AND id IN('.$wiki_ids.')';

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

                $sql = 'DELETE FROM '.$table_wiki_conf.'

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

        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);

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

            $wiki_ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_WIKI])));

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

                        WHERE c_id = ".$this->course_id.' AND id IN('.$ids.')';

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

        $table_thread_qualify = Database::get_course_table(TABLE_FORUM_THREAD_QUALIFY);

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

                            WHERE c_id = ".$this->course_id." AND id='$id'";

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

            $table_wiki = Database::get_course_table(TABLE_WIKI);

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

        $this->course_id = $this->course_info['real_id'];

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

            CourseManager::deleteCoursePicture($this->course_info['code']);

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

                            WHERE c_id = ".$this->course_id.' AND id IN('.$ids.')';

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

                        WHERE c_id = '.$this->course_id.' AND page_id IN('.$page_ids.')';

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

                $sql = 'DELETE FROM '.$table_wiki.'

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

        $table_post = Database::get_course_table(TABLE_FORUM_POST);

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

                    $sql = "DELETE FROM $table_tool_intro

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

                            c_id = ".$this->course_id." AND

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

        $table_thread_qualify_log = Database::get_course_table(TABLE_FORUM_THREAD_QUALIFY_LOG);

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

        $table_tool_intro = Database::get_course_table(TABLE_TOOL_INTRO);

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

        $table_item_properties = Database::get_course_table(TABLE_ITEM_PROPERTY);

Method name "CourseRecycler::recycle_documents" is not in camel caps format
Open

    public function recycle_documents()

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

                $page_ids = implode(',', $pages);

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

        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

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

        $table_attachment = Database::get_course_table(TABLE_FORUM_ATTACHMENT);

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

            $sql = 'DELETE FROM '.$table_category.' WHERE c_id = '.$this->course_id;

Method name "CourseRecycler::recycle_forums" is not in camel caps format
Open

    public function recycle_forums()

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

                        WHERE c_id = '.$this->course_id.' AND id IN('.$wiki_ids.')';

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

                        '.$table_mail_queue.'.post_id = '.$table_post.'.post_id AND

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

                    USING ".$table_mail_queue." INNER JOIN $table_thread

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

                        $table_thread_qualify.thread_id = $table_thread.thread_id AND

Method name "CourseRecycler::recycle_forum_categories" is not in camel caps format
Open

    public function recycle_forum_categories()

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

        $courseId = $this->course_id;

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

                        WHERE c_id = '.$this->course_id.' AND id IN('.$ids.')';

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

                        WHERE c_id = '.$this->course_id.' AND quiz_id IN('.$ids.')';

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

                    $sql = 'DELETE FROM '.$table_qui_ans.'

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

            $forum_ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_FORUM])));

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

                            '.$table_attachment.'.c_id = '.$this->course_id.' AND

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

                            '.$table_attachment.'.post_id = '.$table_post.'.post_id'.

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

                        '.$table_mail_queue.'.c_id = '.$this->course_id.' AND

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

                        $table_mail_queue.c_id = ".$this->course_id." AND

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

            $sql = 'DELETE FROM '.$table_forum.'

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

            $table_attachment = Database::get_course_table(TABLE_AGENDA_ATTACHMENT);

Method name "CourseRecycler::recycle_quizzes" is not in camel caps format
Open

    public function recycle_quizzes()

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

            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);

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

            $table_rel = Database::get_course_table(TABLE_QUIZ_TEST_QUESTION);

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

                        INNER JOIN $table_qui ex

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

                        WHERE ex.c_id = ".$this->course_id." AND (ex.active = '-1' OR ex.id = '-1')

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

                    $orphan_ids = [];

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

                    $orphan_ids = implode(',', $orphan_ids);

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

                            WHERE c_id = '.$this->course_id.' AND question_id IN('.$orphan_ids.')';

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

                    WHERE   ".$table_post.'.c_id = '.$this->course_id.' AND

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

                    USING $table_thread_qualify INNER JOIN $table_thread

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

                        $table_thread.c_id = ".$this->course_id." AND

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

                        WHERE c_id = '.$this->course_id.' AND id IN('.$ids.')';

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

                        INNER JOIN $table_rel r

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

                    $orphan_ids = implode(',', $orphan_ids);

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

            $sql = 'DELETE FROM '.$table_forum.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_mail_queue.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread_qualify.' WHERE c_id = '.$this->course_id;

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

                $sql = 'DELETE FROM '.$table_category.'

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

                            '.$table_attachment.'.post_id = '.$table_post.'.post_id'.

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

                ' AND '.$table_post.'.forum_id IN('.$forum_ids.');';

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

                        '.$table_post.'.forum_id IN('.$forum_ids.');';

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

            if ($delete_orphan_questions) {

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

                        LEFT OUTER JOIN $table_rel r

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

            $sql = "DELETE FROM $table_attachment USING $table_attachment

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

                ' AND '.$table_post.'.forum_id IN('.$forum_ids.');';

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

                        '.$table_mail_queue.'.post_id = '.$table_post.'.post_id AND

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

                        $table_thread.c_id = ".$this->course_id." AND

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

                ' USING '.$table_thread_qualify_log.' INNER JOIN '.$table_thread.

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

                ' USING '.$table_thread_qualify_log.' INNER JOIN '.$table_thread.

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

            $table_attachment = Database::get_course_table(TABLE_ANNOUNCEMENT_ATTACHMENT);

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

            $table_qui_que_cat = Database::get_course_table(TABLE_QUIZ_QUESTION_CATEGORY);

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

            $sql = 'DELETE FROM '.$table_attachment.' WHERE c_id = '.$this->course_id;

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

            $forum_ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_FORUMCATEGORY])));

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

                        WHERE c_id = '.$this->course_id.' AND cat_id IN('.$forum_ids.');';

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

            $sql = 'DELETE FROM '.$table_mail_queue.' USING '.$table_mail_queue." INNER JOIN $table_post

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

                    $table_thread.c_id = ".$this->course_id.' AND

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

            $sql = 'DELETE FROM '.$table_thread.'

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

            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

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

                        WHERE q.c_id = ".$this->course_id." AND r.question_id is null

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

                            WHERE c_id = '.$this->course_id.' AND question_id IN('.$orphan_ids.')';

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

            $sql = 'DELETE FROM '.$table_forum.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_notification.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread_qualify_log.' WHERE c_id = '.$this->course_id;

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

                        ".$table_post.'.c_id = '.$this->course_id.' AND

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

                        '.$table_post.'.forum_id IN('.$forum_ids.');';

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

                        $table_mail_queue.thread_id = ".$table_thread.".thread_id AND

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

                    '.$table_thread.'.forum_id IN('.$forum_ids.');';

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

                    '.$table_thread.'.forum_id IN('.$forum_ids.');';

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

                        WHERE c_id = '.$this->course_id.' AND agenda_id IN('.$ids.')';

Method name "CourseRecycler::recycle_announcements" is not in camel caps format
Open

    public function recycle_announcements()

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

                        WHERE c_id = '.$this->course_id.' AND announcement_id IN('.$ids.')';

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

            $sql = 'DELETE FROM '.$table_mail_queue.' USING '.$table_mail_queue." INNER JOIN $table_post

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

                        $table_thread_qualify.c_id = ".$this->course_id." AND

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

                    '.$table_thread_qualify_log.'.thread_id = '.$table_thread.'.thread_id AND

Method name "CourseRecycler::recycle_link_categories" is not in camel caps format
Open

    public function recycle_link_categories()

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

                            WHERE c_id = '.$this->course_id.' AND question_id IN('.$orphan_ids.')';

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

                            WHERE c_id = '.$this->course_id.' AND id IN('.$orphan_ids.')';

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

                $sql = "DELETE FROM $table_qui_que_rel_cat WHERE c_id = ".$this->course_id;

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

            $sql = 'DELETE FROM '.$table_category.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_post.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_post.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_notification.' WHERE c_id = '.$this->course_id;

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

                        WHERE c_id = '.$this->course_id.' AND cat_id IN('.$forum_ids.');';

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

                    INNER JOIN $table_post

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

            $sql = "DELETE FROM $table_mail_queue

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

                        $table_thread.forum_id IN(".$forum_ids.');';

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

                    $table_thread_qualify_log.c_id = ".$this->course_id." AND

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

                    $table_thread.c_id = ".$this->course_id.' AND

Method name "CourseRecycler::recycle_events" is not in camel caps format
Open

    public function recycle_events()

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

            $table_qui_que_rel_cat = Database::get_course_table(TABLE_QUIZ_QUESTION_REL_CATEGORY);

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

                        $orphan_ids[] = $obj->id;

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

                    $sql = 'DELETE FROM '.$table_qui_que.'

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

            $sql = 'DELETE FROM '.$table_thread_qualify.' WHERE c_id = '.$this->course_id;

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

                        $table_thread.forum_id IN(".$forum_ids.');';

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

                        $table_thread_qualify.thread_id = $table_thread.thread_id AND

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

            $sql = 'DELETE FROM '.$table_thread_qualify_log.

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

            $sql = 'DELETE FROM '.$table_post.'

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

        $courseId = $this->course_id;

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

                $db_result = Database::query($sql);

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

                            '.$table_attachment.'.c_id = '.$this->course_id.' AND

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

            $sql = "DELETE FROM $table_thread_qualify

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

                    USING $table_thread_qualify INNER JOIN $table_thread

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

                        $table_thread_qualify.c_id = ".$this->course_id." AND

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

            $sql = 'DELETE FROM '.$table_notification.'

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

                        $table_mail_queue.c_id = ".$this->course_id." AND

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

                        $table_thread.forum_id IN(".$forum_ids.');';

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

                    $table_thread_qualify_log.c_id = ".$this->course_id." AND

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

                $sql = 'DELETE FROM '.$table_attachment.'

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

            $table_qui_que_opt = Database::get_course_table(TABLE_QUIZ_QUESTION_OPTION);

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

            $delete_orphan_questions = in_array(-1, $ids);

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

                $sql = 'DELETE FROM '.$table_rel.'

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

                        SELECT q.id, ex.c_id FROM $table_qui_que q

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

                        SELECT q.id, r.c_id FROM $table_qui_que q

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

                if (Database::num_rows($db_result) > 0) {

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

                $sql = "DELETE FROM $table_qui_que_rel_cat WHERE c_id = ".$this->course_id;

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

            $sql = 'DELETE FROM '.$table_attachment.' WHERE c_id = '.$this->course_id;

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

                        '.$table_mail_queue.'.c_id = '.$this->course_id.' AND

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

                        $table_thread.forum_id IN(".$forum_ids.');';

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

                $sql = "DELETE FROM $table_qui_que_cat WHERE c_id = ".$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread_qualify_log.' WHERE c_id = '.$this->course_id;

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

            $sql = "DELETE FROM $table_attachment USING $table_attachment

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

                    WHERE   ".$table_post.'.c_id = '.$this->course_id.' AND

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

                        ".$table_post.'.c_id = '.$this->course_id.' AND

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

                        $table_thread.c_id = ".$this->course_id." AND

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

                        $table_thread.c_id = ".$this->course_id." AND

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

                $sql = 'DELETE FROM '.$table_attachment.'

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

                $sql = 'DELETE FROM '.$table_qui.'

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

                            WHERE c_id = '.$this->course_id.' AND question_id IN('.$orphan_ids.')';

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

                            WHERE c_id = '.$this->course_id.' AND id IN('.$orphan_ids.')';

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

            $sql = 'DELETE FROM '.$table_thread.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_mail_queue.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread_qualify_log.' WHERE c_id = '.$this->course_id;

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

            $sql = 'DELETE FROM '.$table_thread_qualify_log.' WHERE c_id = '.$this->course_id;

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

            if (!empty($forum_ids)) {

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

            if (empty($forum_ids)) {

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

            $sql = 'DELETE FROM '.$table_mail_queue.' USING '.$table_mail_queue." INNER JOIN $table_post

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

                    '.$table_thread_qualify_log.'.thread_id = '.$table_thread.'.thread_id AND

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

                    WHERE c_id = '.$this->course_id.' AND forum_id IN('.$forum_ids.')';

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

            $table_qui = Database::get_course_table(TABLE_QUIZ_TEST);

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

                        SELECT q.id, r.c_id FROM $table_qui_que q

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

                        INNER JOIN $table_rel r

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

                        WHERE r.c_id = ".$this->course_id." AND (r.quiz_id = '-1' OR r.quiz_id = '0')

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

                    USING ".$table_mail_queue." INNER JOIN $table_thread

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

                        $table_mail_queue.thread_id = ".$table_thread.".thread_id AND

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

                        WHERE c_id = '.$this->course_id.' AND id IN('.$ids.')';

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

                    while ($obj = Database::fetch_object($db_result)) {

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

                    $sql = 'DELETE FROM '.$table_rel.'

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

                $obj_cat->removeCategory($tab_test_cat->source_id);

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

                $sql_items_del = "DELETE FROM $table_item WHERE c_id = ".$this->course_id."  AND lp_id=$id";

Method name "CourseRecycler::recycle_thematic" is not in camel caps format
Open

    public function recycle_thematic($session_id = 0)

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

            $table_thematic = Database::get_course_table(TABLE_THEMATIC);

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

            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);

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

                    foreach ($obj->attendance_calendar as $attendance_calendar) {

Method name "CourseRecycler::recycle_test_category" is not in camel caps format
Open

    public function recycle_test_category()

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

                        WHERE c_id = ".$this->course_id.'  AND survey_id IN('.$ids.')';

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

                $sql_items = "SELECT id FROM $table_item

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

                    while ($row_iv = Database::fetch_array($res_iv)) {

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

                $sql_items_del = "DELETE FROM $table_item WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

    public function recycle_work($session_id = 0)

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

            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

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

            $table_survey_i = Database::get_course_table(TABLE_SURVEY_INVITATION);

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

                        WHERE c_id = ".$this->course_id.'  AND survey_id IN('.$ids.')';

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

                $res_items = Database::query($sql_items);

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

                    $sql_iv_del = "DELETE FROM $table_iv

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

                        WHERE  c_id = ".$this->course_id.'  AND id IN('.$ids.')';

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

                            $thematic_advance['id'],

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

            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

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

                        $cond = ['id = ? AND c_id = ? ' => [$attendance_calendar['id'], $this->course_id]];

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

                    $cond = ['parent_id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

                        $this->course_info,

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

                $sql = "DELETE FROM $table_qui_que_opt WHERE c_id = ".$this->course_id;

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

                $sql = "DELETE FROM $table_survey_q_o

Method name "CourseRecycler::recycle_learnpaths" is not in camel caps format
Open

    public function recycle_learnpaths()

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

                        $scorm_package_dir = realpath($this->course->path.'scorm/'.$learnpath->path);

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

                                           WHERE c_id = ".$this->course_id.'  AND lp_iv_id = '.$row_iv['id'];

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

                Database::query($sql_items_del);

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

                $sql_views_del = "DELETE FROM $table_view WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

                $sql_del = "DELETE FROM $table_main WHERE c_id = ".$this->course_id."  AND id = $id";

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

    public function recycle_attendance($session_id = 0)

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

                    $cond = ['publication_id = ? AND c_id = ? ' => [$last_id, $this->course_id]];

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

                    Database::delete($table_work_assignment, $cond);

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

                $sql_items = "SELECT id FROM $table_item

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

                    $res_iv = Database::query($sql_iv);

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

                        $sql_iv_int_del = "DELETE FROM $table_iv_int

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

                                $thematic_plan['id'],

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

                            $thematic_advance['id'],

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

                $sql = "DELETE FROM $table_qui_que_opt WHERE c_id = ".$this->course_id;

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

                if (is_numeric($last_id)) {

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

                        WHERE c_id = ".$this->course_id.'  AND survey_id IN('.$ids.')';

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

                        WHERE c_id = ".$this->course_id.'  AND survey_id IN('.$ids.')';

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

            $table_iv = Database::get_course_table(TABLE_LP_ITEM_VIEW);

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

                                   WHERE c_id = ".$this->course_id.'  AND lp_item_id='.$row_item['id'];

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

                    foreach ($thematic->thematic_advance_list as $thematic_advance) {

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

                if (is_numeric($last_id)) {

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

            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {

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

                              WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

                               WHERE  c_id = ".$this->course_id.'  AND lp_item_id='.$row_item['id'];

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

                $sql_del = "DELETE FROM $table_main WHERE c_id = ".$this->course_id."  AND id = $id";

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

                $sql_del = "DELETE FROM $table_main WHERE c_id = ".$this->course_id."  AND id = $id";

Method name "CourseRecycler::recycle_learnpath_categories" is not in camel caps format
Open

    public function recycle_learnpath_categories()

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

                                $this->course_id,

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

                        Database::delete($table_attendance_calendar, $cond);

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

                    $cond = ['id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

                    $cond = ['id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

    public function recycle_thematic($session_id = 0)

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

                    foreach ($thematic->thematic_plan_list as $thematic_plan) {

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

            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

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

            $table_survey_q_o = Database::get_course_table(TABLE_SURVEY_QUESTION_OPTION);

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

                    WHERE c_id = ".$this->course_id;

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

                        rmdirr($scorm_package_dir);

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

                $res_items = Database::query($sql_items);

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

                    $res_iv = Database::query($sql_iv);

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

                Database::query($sql_del);

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

            foreach ($resources[RESOURCE_WORK] as $last_id => $obj) {

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

                        $last_id,

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

                $sql = "DELETE FROM $table_survey

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

            $table_main = Database::get_course_table(TABLE_LP_MAIN);

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

                while ($row_item = Database::fetch_array($res_items)) {

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

                               WHERE  c_id = ".$this->course_id.'  AND lp_item_id='.$row_item['id'];

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

                    Database::query($sql_iv_del);

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

                $sql_items_del = "DELETE FROM $table_item WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

                    foreach ($thematic->thematic_advance_list as $thematic_advance) {

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

                    foreach ($thematic->thematic_plan_list as $thematic_plan) {

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

                        $last_id,

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

                    foreach ($obj->attendance_calendar as $attendance_calendar) {

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

                        $cond = ['id = ? AND c_id = ? ' => [$attendance_calendar['id'], $this->course_id]];

Method name "CourseRecycler::recycle_work" is not in camel caps format
Open

    public function recycle_work($session_id = 0)

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

                    Database::delete($table_work, $cond);

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

                $obj_cat->removeCategory($tab_test_cat->source_id);

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

            $table_survey_a = Database::get_course_Table(TABLE_SURVEY_ANSWER);

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

                $sql = "DELETE FROM $table_survey_q

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

            $table_item = Database::get_course_table(TABLE_LP_ITEM);

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

            $table_tool = Database::get_course_table(TABLE_TOOL_LIST);

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

                if (2 == $learnpath->lp_type) {

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

                $sql = "DELETE FROM $table_tool

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

                        Database::query($sql_iv_int_del);

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

                    $sql_iv_del = "DELETE FROM $table_iv

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

                $sql_views_del = "DELETE FROM $table_view WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

                                $thematic_advance['id'],

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

                                $this->course_id,

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

                    $cond = ['parent_id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

            $sql = 'DELETE FROM '.$table_qui.' WHERE c_id = '.$this->course_id.' AND active = -1';

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

            $table_iv_int = Database::get_course_table(TABLE_LP_IV_INTERACTION);

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

                while ($row_item = Database::fetch_array($res_items)) {

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

                                           WHERE c_id = ".$this->course_id.'  AND lp_iv_id = '.$row_iv['id'];

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

                $sql_views_del = "DELETE FROM $table_view WHERE c_id = ".$this->course_id."  AND lp_id=$id";

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

                            $this->course_info,

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

                    Database::delete($table_attendance, $cond);

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

                    $cond = ['publication_id = ? AND c_id = ? ' => [$last_id, $this->course_id]];

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

                $sql = "DELETE FROM $table_qui_que_cat WHERE c_id = ".$this->course_id;

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

                $sql = "DELETE FROM $table_survey_a

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

            foreach ($resources[RESOURCE_THEMATIC] as $last_id => $thematic) {

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

                if (is_numeric($last_id)) {

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

            foreach ($resources[RESOURCE_ATTENDANCE] as $last_id => $obj) {

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

            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);

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

                $obj_cat->removeCategory($tab_test_cat->source_id);

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

            $table_view = Database::get_course_table(TABLE_LP_VIEW);

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

                    $sql_iv = "SELECT id FROM $table_iv

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

                        Database::delete($table_thematic_plan, $cond);

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

                            $last_id,

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

                        $this->course_info,

Method name "CourseRecycler::recycle_attendance" is not in camel caps format
Open

    public function recycle_attendance($session_id = 0)

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

                    $cond = ['id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

            $sql = "DELETE FROM $table_survey_i

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

                            c_id = ".$this->course_id." AND

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

                    while ($row_iv = Database::fetch_array($res_iv)) {

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

                        $sql_iv_int_del = "DELETE FROM $table_iv_int

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

                                   WHERE c_id = ".$this->course_id.'  AND lp_item_id='.$row_item['id'];

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

                Database::query($sql_views_del);

Method name "CourseRecycler::recycle_cours_description" is not in camel caps format
Open

    public function recycle_cours_description()

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

                        Database::delete($table_thematic_advance, $cond);

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

                            $this->course_info,

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

                            $this->course_id,

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

                    Database::delete($table_thematic, $cond);

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

                    $cond = ['id = ? AND c_id = ?' => [$last_id, $this->course_id]];

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

                        $last_id,

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

                    Database::delete($table_work, $cond);

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

            $sql = 'DELETE FROM '.$table_qui.' WHERE c_id = '.$this->course_id.' AND active = -1';

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

                $obj_cat = new TestCategory();

Method name "CourseRecycler::recycle_surveys" is not in camel caps format
Open

    public function recycle_surveys()

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

            $table_survey = Database::get_course_table(TABLE_SURVEY);

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

                    $sql_iv = "SELECT id FROM $table_iv

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

            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

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

            $table_thematic_plan = Database::get_course_table(TABLE_THEMATIC_PLAN);

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

                        $this->course_info,

The variable $wiki_ids is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $page_ids is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_announcements()
    {
        if ($this->course->has_resources(RESOURCE_ANNOUNCEMENT)) {
            $table = Database::get_course_table(TABLE_ANNOUNCEMENT);
            $table_attachment = Database::get_course_table(TABLE_ANNOUNCEMENT_ATTACHMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_ans is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_wiki_conf is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $db_result is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_rel_cat is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $page_ids is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_events()
    {
        if ($this->course->has_resources(RESOURCE_EVENT)) {
            $table = Database::get_course_table(TABLE_AGENDA);
            $table_attachment = Database::get_course_table(TABLE_AGENDA_ATTACHMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_item_properties is not named in camelCase.
Open

    public function recycle($backupType)
    {
        if (empty($backupType)) {
            return false;
        }

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_notification is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_events()
    {
        if ($this->course->has_resources(RESOURCE_EVENT)) {
            $table = Database::get_course_table(TABLE_AGENDA);
            $table_attachment = Database::get_course_table(TABLE_AGENDA_ATTACHMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_tool_intro is not named in camelCase.
Open

    public function recycle($backupType)
    {
        if (empty($backupType)) {
            return false;
        }

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_category is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_notification is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_ans is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_tool_intro is not named in camelCase.
Open

    public function recycle($backupType)
    {
        if (empty($backupType)) {
            return false;
        }

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_category is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_rel_cat is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_wiki_conf is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $wiki_ids is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $wiki_ids is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_opt is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_forum is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_cat is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $obj_cat is not named in camelCase.
Open

    public function recycle_test_category()
    {
        if (isset($this->course->resources[RESOURCE_TEST_CATEGORY])) {
            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {
                $obj_cat = new TestCategory();

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_q is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_item_properties is not named in camelCase.
Open

    public function recycle($backupType)
    {
        if (empty($backupType)) {
            return false;
        }

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_forum is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $delete_orphan_questions is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_forum is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_category is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_mail_queue is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_notification is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_opt is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $tab_test_cat is not named in camelCase.
Open

    public function recycle_test_category()
    {
        if (isset($this->course->resources[RESOURCE_TEST_CATEGORY])) {
            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {
                $obj_cat = new TestCategory();

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $tab_test_cat is not named in camelCase.
Open

    public function recycle_test_category()
    {
        if (isset($this->course->resources[RESOURCE_TEST_CATEGORY])) {
            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {
                $obj_cat = new TestCategory();

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_announcements()
    {
        if ($this->course->has_resources(RESOURCE_ANNOUNCEMENT)) {
            $table = Database::get_course_table(TABLE_ANNOUNCEMENT);
            $table_attachment = Database::get_course_table(TABLE_ANNOUNCEMENT_ATTACHMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_rel is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $delete_orphan_questions is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $db_result is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_q_o is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $db_result is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $orphan_ids is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $obj_cat is not named in camelCase.
Open

    public function recycle_test_category()
    {
        if (isset($this->course->resources[RESOURCE_TEST_CATEGORY])) {
            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {
                $obj_cat = new TestCategory();

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify_log is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $forum_ids is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que_cat is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_tool is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $row_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv_int_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_views_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attendance_calendar is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic_plan is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_work is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_wiki is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_wiki is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attachment is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_post is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread_qualify is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thread is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_qui_que is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_q is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_main is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_tool is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $res_items is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_views_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $scorm_package_dir is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_plan is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_plan is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_work is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_a is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_items is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_items_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_i is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_iv_int is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $res_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_main is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attendance is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_iv_int is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $row_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $attendance_calendar is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $attendance_calendar is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attendance is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_work is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $res_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic_plan is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_items_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_i is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_q_o is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $scorm_package_dir is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_work_assignment is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_survey_a is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_items is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $row_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $sql_iv_int_del is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_view is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $res_items is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $row_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_thematic_advance is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_attendance_calendar is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_work_assignment is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_item is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $table_view is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $row_iv is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $last_id is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The method recycle_link_categories is not named in camelCase.
Open

    public function recycle_link_categories()
    {
        $linkCategoryTable = Database::get_course_table(TABLE_LINK_CATEGORY);
        $linkTable = Database::get_course_table(TABLE_LINK);
        $itemPropertyTable = Database::get_course_table(TABLE_ITEM_PROPERTY);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_documents is not named in camelCase.
Open

    public function recycle_documents()
    {
        $table = Database::get_course_table(TABLE_DOCUMENT);
        $tableItemProperty = Database::get_course_table(TABLE_ITEM_PROPERTY);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_events is not named in camelCase.
Open

    public function recycle_events()
    {
        if ($this->course->has_resources(RESOURCE_EVENT)) {
            $table = Database::get_course_table(TABLE_AGENDA);
            $table_attachment = Database::get_course_table(TABLE_AGENDA_ATTACHMENT);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_links is not named in camelCase.
Open

    public function recycle_links()
    {
        if ($this->course->has_resources(RESOURCE_LINK)) {
            $table = Database::get_course_table(TABLE_LINK);
            $ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_LINK])));

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_forums is not named in camelCase.
Open

    public function recycle_forums()
    {
        $table_category = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $table_forum = Database::get_course_table(TABLE_FORUM);
        $table_thread = Database::get_course_table(TABLE_FORUM_THREAD);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_quizzes is not named in camelCase.
Open

    public function recycle_quizzes()
    {
        if ($this->course->has_resources(RESOURCE_QUIZ)) {
            $table_qui_que = Database::get_course_table(TABLE_QUIZ_QUESTION);
            $table_qui_ans = Database::get_course_table(TABLE_QUIZ_ANSWER);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_forum_categories is not named in camelCase.
Open

    public function recycle_forum_categories()
    {
        $forumTable = Database::get_course_table(TABLE_FORUM);
        $forumCategoryTable = Database::get_course_table(TABLE_FORUM_CATEGORY);
        $itemPropertyTable = Database::get_course_table(TABLE_ITEM_PROPERTY);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_wiki is not named in camelCase.
Open

    public function recycle_wiki()
    {
        if ($this->course->has_resources(RESOURCE_WIKI)) {
            $table_wiki = Database::get_course_table(TABLE_WIKI);
            $table_wiki_conf = Database::get_course_table(TABLE_WIKI_CONF);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_glossary is not named in camelCase.
Open

    public function recycle_glossary()
    {
        if ($this->course->has_resources(RESOURCE_GLOSSARY)) {
            $table = Database::get_course_table(TABLE_GLOSSARY);
            $ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_GLOSSARY])));

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_announcements is not named in camelCase.
Open

    public function recycle_announcements()
    {
        if ($this->course->has_resources(RESOURCE_ANNOUNCEMENT)) {
            $table = Database::get_course_table(TABLE_ANNOUNCEMENT);
            $table_attachment = Database::get_course_table(TABLE_ANNOUNCEMENT_ATTACHMENT);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_test_category is not named in camelCase.
Open

    public function recycle_test_category()
    {
        if (isset($this->course->resources[RESOURCE_TEST_CATEGORY])) {
            foreach ($this->course->resources[RESOURCE_TEST_CATEGORY] as $tab_test_cat) {
                $obj_cat = new TestCategory();

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_work is not named in camelCase.
Open

    public function recycle_work($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_WORK)) {
            $table_work = Database::get_course_table(TABLE_STUDENT_PUBLICATION);
            $table_work_assignment = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_cours_description is not named in camelCase.
Open

    public function recycle_cours_description()
    {
        if ($this->course->has_resources(RESOURCE_COURSEDESCRIPTION)) {
            $table = Database::get_course_table(TABLE_COURSE_DESCRIPTION);
            $ids = implode(',', array_filter(array_keys($this->course->resources[RESOURCE_COURSEDESCRIPTION])));

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_thematic is not named in camelCase.
Open

    public function recycle_thematic($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_THEMATIC)) {
            $table_thematic = Database::get_course_table(TABLE_THEMATIC);
            $table_thematic_advance = Database::get_course_table(TABLE_THEMATIC_ADVANCE);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_surveys is not named in camelCase.
Open

    public function recycle_surveys()
    {
        if ($this->course->has_resources(RESOURCE_SURVEY)) {
            $table_survey = Database::get_course_table(TABLE_SURVEY);
            $table_survey_q = Database::get_course_table(TABLE_SURVEY_QUESTION);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_learnpaths is not named in camelCase.
Open

    public function recycle_learnpaths()
    {
        if ($this->course->has_resources(RESOURCE_LEARNPATH)) {
            $table_main = Database::get_course_table(TABLE_LP_MAIN);
            $table_item = Database::get_course_table(TABLE_LP_ITEM);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_attendance is not named in camelCase.
Open

    public function recycle_attendance($session_id = 0)
    {
        if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
            $table_attendance = Database::get_course_table(TABLE_ATTENDANCE);
            $table_attendance_calendar = Database::get_course_table(TABLE_ATTENDANCE_CALENDAR);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

The method recycle_learnpath_categories is not named in camelCase.
Open

    public function recycle_learnpath_categories()
    {
        $learningPathTable = Database::get_course_table(TABLE_LP_MAIN);
        $learningPathCategoryTable = Database::get_course_table(TABLE_LP_CATEGORY);
        $tblCTool = Database::get_course_table(TABLE_TOOL_LIST);

CamelCaseMethodName

Since: 0.2

It is considered best practice to use the camelCase notation to name methods.

Example

class ClassName {
    public function get_name() {
    }
}

Source

There are no issues that match your filters.

Category
Status