chamilo/chamilo-lms

View on GitHub
public/main/gradebook/lib/fe/gradebooktable.class.php

Summary

Maintainability
A
0 mins
Test Coverage

The method __construct has 10 parameters. Consider reducing the number of parameters to less than 10.
Open

    public function __construct(
        Category $currentcat,
        array $cats = [],
        array $evals = [],
        array $links = [],

The method __construct() has an NPath complexity of 552960. The configured NPath complexity threshold is 200.
Open

    public function __construct(
        Category $currentcat,
        array $cats = [],
        array $evals = [],
        array $links = [],

NPathComplexity

Since: 0.1

The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.

Example

class Foo {
    function bar() {
        // lots of complicated code
    }
}

Source https://phpmd.org/rules/codesize.html#npathcomplexity

The method get_table_data() has an NPath complexity of 9223372036854775807. The configured NPath complexity threshold is 200.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

NPathComplexity

Since: 0.1

The NPath complexity of a method is the number of acyclic execution paths through that method. A threshold of 200 is generally considered the point where measures should be taken to reduce complexity.

Example

class Foo {
    function bar() {
        // lots of complicated code
    }
}

Source https://phpmd.org/rules/codesize.html#npathcomplexity

Avoid using undefined variables such as '$rankingStudentList' which will lead to PHP notices.
Open

                                $rankingStudentList[$user['user_id']] = $score['score'][0];

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$rankingStudentList' which will lead to PHP notices.
Open

                                $defaultData[$item->get_id()]['ranking'] = $rankingStudentList;

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$main_categories' which will lead to PHP notices.
Open

                $main_categories[$item->get_id()]['weight'] = $item->get_weight();

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$main_categories' which will lead to PHP notices.
Open

                                $main_categories[$parent_id]['children'][$item->get_id()]['weight'] = $item->get_weight();

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$main_categories' which will lead to PHP notices.
Open

                    $main_categories[$item->get_id()]['name'] = $item->get_name();

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$main_categories' which will lead to PHP notices.
Open

                    $main_categories[$item->get_id()]['name'] = $name;

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$main_categories' which will lead to PHP notices.
Open

                                $main_categories[$parent_id]['children'][$item->get_id()]['name'] = $item->get_name();

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

The class GradebookTable has a coupling between objects value of 16. Consider to reduce the number of dependencies under 13.
Open

class GradebookTable extends SortableTable
{
    public $cats;
    public $exportToPdf;
    public $teacherView;

CouplingBetweenObjects

Since: 1.1.0

A class with too many dependencies has negative impacts on several quality aspects of a class. This includes quality criteria like stability, maintainability and understandability

Example

class Foo {
    /**
     * @var \foo\bar\X
     */
    private $x = null;

    /**
     * @var \foo\bar\Y
     */
    private $y = null;

    /**
     * @var \foo\bar\Z
     */
    private $z = null;

    public function setFoo(\Foo $foo) {}
    public function setBar(\Bar $bar) {}
    public function setBaz(\Baz $baz) {}

    /**
     * @return \SplObjectStorage
     * @throws \OutOfRangeException
     * @throws \InvalidArgumentException
     * @throws \ErrorException
     */
    public function process(\Iterator $it) {}

    // ...
}

Source https://phpmd.org/rules/design.html#couplingbetweenobjects

Missing class import via use statement (line '73', column '30').
Open

        $this->datagen = new GradebookDataGenerator($cats, $evals, $links);

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '582', column '45').
Open

                        $sub_cat_info = new GradebookDataGenerator($allcat, $alleval, $alllink);

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '1223', column '20').
Open

        $cat = new Category();

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

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

        } else {
            if (!empty($cats)) {
                if (false == $this->exportToPdf) {
                    $this->set_header($column++, get_lang('Detail'), false);
                }

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

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

        } else {
            if (empty($_GET['selectcat']) && !$this->teacherView) {
                if (false == $this->exportToPdf) {
                    $this->set_header(
                        $column++,

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

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

        } else {
            $defaultData = $defaultDataFromSession;
        }

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

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

                        } else {
                            $totalBest = $scoredisplay->display_score(
                                $totalBest,
                                SCORE_DIV,
                                SCORE_BOTH,

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

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

                            } else {
                                $totalAverageScore = $totalAverage;
                            }

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

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

                } else {
                    return '['.get_lang('Score').']  '.$item->get_name().$show_message;
                }

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

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

                } else {
                    $name = $this->build_name_link($item, $type);
                    $row[] = $invisibility_span_open.$name.$invisibility_span_close;
                    $main_categories[$item->get_id()]['name'] = $name;
                }

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

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

                            } else {
                                // Students get the results and certificates columns
                                $eval_n_links = array_merge($alleval, $alllink);
                                if (count($eval_n_links) > 0) {
                                    $value_data = isset($data[4]) ? $data[4] : null;

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

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

                } else {
                    // Students get the results and certificates columns
                    $value_data = isset($data[4]) ? $data[4] : null;
                    $best = isset($data['best']) ? $data['best'] : null;
                    $average = isset($data['average']) ? $data['average'] : null;

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

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

                        } else {
                            // Overwrite main weight
                            $totalBest[1] = $mainWeight;
                            $defaultData[$categoryId]['best'] = $totalBest;
                        }

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

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

                    } else {
                        $extra = Display::label(get_lang('Score'));
                        if ('simple' == $type) {
                            $extra = '';
                        }

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

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

                                } else {
                                    $label = Display::getMdiIcon(
                                        StateIcon::WARNING,
                                        'ch-tool-icon',
                                        null,

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

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

        } else {
            $showPercentage = false === $this->datagen->hidePercentage;
            // Total for student.
            if (count($main_cat) > 1) {
                $mainWeight = (int) $main_cat[0]->get_weight();

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

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

                } else {
                    $totalResult = $scoredisplay->display_score(
                        $totalResult,
                        SCORE_DIV,
                        null,

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

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

                        } else {
                            $totalAverage = $scoredisplay->display_score(
                                $totalAverage,
                                SCORE_DIV,
                                SCORE_BOTH,

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

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

                    } else {
                        $row[] = $invisibility_span_open.$weight.$invisibility_span_close;
                    }

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

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

                } else {
                    $total = Display::label($totalCategoriesWeight.' / '.$mainWeight, 'warning');
                }

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

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

        } else {
            $sorting |= GradebookDataGenerator::GDG_SORT_ASC;
        }

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

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

                    } else {
                        $row[] = ExerciseLib::show_score(
                            $data['result_score'][0],
                            $data['result_score'][1]
                        );

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

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

                            } else {
                                $totalBestScore = $totalBest;
                            }

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

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

                        } else {
                            $averageWeight = 0;
                            $categoryAverage = 0;
                            foreach ($totalAverageList as $averageScore) {
                                $categoryAverage += $averageScore[0];

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

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

                    } else {
                        $weight_categories[] = intval($this->build_weight($category));
                        $certificate_min_scores[] = intval($this->build_certificate_min_score($category));
                        $course_codes[] = $course_code_category;
                    }

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

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

                        } else {
                            $totalRanking = [];
                            $invalidateRanking = true;
                            $average = 0;
                            $main_cat[0]->setStudentList($this->studentList);

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 parameters such as '$column'.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)

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 '$sort'.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)

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 '$cat'.
Open

        $cat = new Category();

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 '$spaces'.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 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 '$direction'.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)

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 '$global'.
Open

                $global = null;

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 '$perPage'.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)

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 using count() function in for loops.
Open

                    for ($x = 0; $x < count($weight_categories); $x++) {
                        $weight_category = intval($weight_categories[$x]);
                        $certificate_min_score = intval($certificate_min_scores[$x]);
                        $course_code = $course_codes[$x];

CountInLoopExpression

Since: 2.7.0

Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.

Example

class Foo {

  public function bar()
  {
    $array = array();

    for ($i = 0; count($array); $i++) {
      // ...
    }
  }
}

Source https://phpmd.org/rules/design.html#countinloopexpression

The property $evals_links is not named in camelCase.
Open

class GradebookTable extends SortableTable
{
    public $cats;
    public $exportToPdf;
    public $teacherView;

CamelCasePropertyName

Since: 0.2

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

Example

class ClassName {
    protected $property_name;
}

Source

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

            case 4 + $col_adjust:

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

                    $row[] = $invisibility_span_open.'<strong>'.$item->get_name().'</strong>'.$invisibility_span_close;

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

                    $row[] = $invisibility_span_open.'<strong>'.$item->get_name().'</strong>'.$invisibility_span_close;

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

                            $invisibility_span_close;

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

            if (count($main_cat) > 1) {

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

                                $score = $main_cat[0]->calc_score(

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

                                    $session_id

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

                        $totalRanking = AbstractLink::getCurrentUserRanking($user_id, $totalRanking);

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

        $this->odd_even_rows_enabled = false;

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

                    $row[] = $invisibility_span_open.$name.$invisibility_span_close;

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

        $weight_total_links = 0;

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

                        $row[] = $invisibility_span_open.$weight.$invisibility_span_close;

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

                                if (count($eval_n_links) > 0) {

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

                $invisibility_span_open = $isAllowedToEdit && '0' == $item->is_visible() ? '<span class="text-muted">' : '';

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

                    $weight_category = (int) $this->build_weight($category[0]);

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

                        $sub_cat_info->userId = $user_id;

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

                    if ($weight_total_links > $weight_category ||

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

                    $content_html = DocumentManager::replace_user_info_into_html(

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

                            $invisibility_span_close = $isAllowedToEdit && '0' == $item->is_visible() ? '</span>' : '';

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

                                    'child_of' => $parent_id,

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

        if (count($main_cat) > 1) {

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

                $sortable_data[] = $row;

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

                $id_cat = (int) $_GET['selectcat'];

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

            case 1 + $col_adjust:

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

            foreach ($data_array as $data) {

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

                    $value_data = isset($data[4]) ? $data[4] : null;

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

                        $sub_cat_info->preLoadDataKey = $this->getPreloadDataKey();

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

                    if (!empty($content_html)) {

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

                        $row[] = $value_data;

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

                $sortable_data[] = $row;

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

                        $sub_cat_info->exportToPdf = $this->exportToPdf;

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

                        $data_array2 = $sub_cat_info->get_data(

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

                            $this->per_page,

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

                                $row[] = $invisibility_span_open.$data[2].$invisibility_span_close;

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

                                if (empty($show_message)) {

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

                        $weight_total_links < $weight_category ||

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

        if (empty($session_id)) {

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

                    $row[] = $invisibility_span_open.$data[2].$invisibility_span_close;

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

                    $parent_id = $item->get_id();

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

                        $parent_id,

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

                                    if (!is_null($value_data)) {

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

                            $main_cat[0]->setStudentList($this->studentList);

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

                        $warning_message .= $modify_icons;

Method name "GradebookTable::get_total_number_of_items" is not in camel caps format
Open

    public function get_total_number_of_items()

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

            $session_id,

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

                    $main_categories[$item->get_id()]['name'] = $item->get_name();

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

                    $row[] = $invisibility_span_open.$data[2].$invisibility_span_close;

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

                            $row[] = $invisibility_span_open.'&nbsp;&nbsp;&nbsp; '.

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

                                $row[] = $invisibility_span_open.$data[2].$invisibility_span_close;

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

                                $eval_n_links = array_merge($alleval, $alllink);

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

                        $warning_message .= $modify_icons;

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

        $visibleItems = array_merge($this->datagen->items, $this->evals_links);

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

        $session_id = api_get_session_id();

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

        if (!empty($data_array)) {

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

                $main_categories[$item->get_id()]['weight'] = $item->get_weight();

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

                        $row[] = $invisibility_span_open.$weight.$invisibility_span_close;

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

                        $weight_total_links < $weight_category ||

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

                        $weight_total_links > $weight_category

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

                        $warning_message = sprintf(get_lang('The sum of all weights of activities must be %s'), $weight_category);

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

                            '<a href="gradebook_edit_cat.php?editcat='.$id_cat.'&cid='.$localCourseId.'&sid='.api_get_session_id().'">'.

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

        global $certificate_min_score;

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

            case 2 + $col_adjust:

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

                $session_id,

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

                $invisibility_span_close = $isAllowedToEdit && '0' == $item->is_visible() ? '</span>' : '';

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

                                $main_categories[$parent_id]['children'][$item->get_id()]['weight'] = $item->get_weight();

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

                            $sortable_data[] = $row;

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

                        if (!empty($data_array)) {

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

                                $sortable_data[] = $row;

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

                $mainWeight = (int) $main_cat[0]->get_weight();

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

                        $weight_total_links > $weight_category

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

                        $modify_icons =

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

                            Display::getMdiIcon(ActionIcon::EDIT, 'ch-tool-icon', null, ICON_SIZE_SMALL, get_lang('Edit'), ['alt' => $warning_message]);

Missing function doc comment
Open

    public function preloadData()

Method name "GradebookTable::get_table_data" is not in camel caps format
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)

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

        $col_adjust = $isAllowedToEdit ? 1 : 0;

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

                    if (empty($show_message)) {

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

                                $this->build_name_link($item, $type, 4).$invisibility_span_close;

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

                                $show_message = Category::show_message_resource_delete($item->getCourseId());

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

                    $sortable_data[] = $row;

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

                    $localCourseInfo = api_get_course_info($course_code);

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

                    $weight_total_links = round($weight_total_links);

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

                        $new_content = explode('</head>', $content_html['content']);

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

        $this->evals_links = array_merge($evals, $links);

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

        $user_id = $this->userId;

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

                    $show_message = Category::show_message_resource_delete($item->getCourseId());

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

                                    $value_data = isset($data[4]) ? $data[4] : null;

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

                                        $row[] = $value_data;

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

                                $row['child_of'] = $parent_id;

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

                    if ($weight_total_links > $weight_category ||

Method name "GradebookTable::get_data" is not in camel caps format
Open

    public function get_data()

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

                        $allcat = $subCategory->get_subcategories($this->userId, $courseId, $session_id);

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

                                $row[] = $invisibility_span_open.$weight.$invisibility_span_close;

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

                    $weight_total_links = round($weight_total_links);

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

                        echo Display::return_message($warning_message, 'warning', false);

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

        $course_code = api_get_course_id();

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

            $this->per_page,

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

        $sortable_data = [];

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

                    $row[] = $invisibility_span_open.$name.$invisibility_span_close;

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

                    $main_categories[$item->get_id()]['name'] = $name;

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

                        foreach ($data_array2 as $data) {

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

            if (count($main_cat) > 1) {

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

        $course_code = api_get_course_id();

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

                    $weight_total_links += $data[3];

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

                        $sub_cat_info = new GradebookDataGenerator($allcat, $alleval, $alllink);

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

                        $sub_cat_info->userId = $user_id;

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

                        $data_array2 = $sub_cat_info->get_data(

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

                            $invisibility_span_open = $isAllowedToEdit && '0' == $item->is_visible() ? '<span class="text-muted">' : '';

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

                                $main_categories[$parent_id]['children'][$item->get_id()]['name'] = $item->get_name();

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

                                $main_categories[$parent_id]['children'][$item->get_id()]['weight'] = $item->get_weight();

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

            case 3 + $col_adjust:

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

        $data_array = $this->datagen->get_data(

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

        $main_cat = Category::load(

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

        $session_id = api_get_session_id();

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

                        $row[] = $invisibility_span_open.

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

                                $main_categories[$parent_id]['children'][$item->get_id()]['name'] = $item->get_name();

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

                                $row[] = $invisibility_span_open.$weight.$invisibility_span_close;

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

            case 0 + $col_adjust:

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

                $category = Category::load($id_cat);

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

            case 5 + $col_adjust:

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

                    $course_code = $this->build_course_code($category[0]);

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

            foreach ($main_cat as $myCat) {

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

                $categoryId = $main_cat[0]->get_id();

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

                        $warning_message = sprintf(get_lang('The sum of all weights of activities must be %s'), $weight_category);

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

                    if (empty($new_content[0])) {

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

                        $course_codes[] = $course_code_category;

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

                        $course_code = $course_codes[$x];

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

        return $sortable_data;

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

                            $certificate_min_scores[] = intval($this->build_certificate_min_score($category));

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

                if (is_array($weight_categories) &&

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

                        $certificate_min_score = intval($certificate_min_scores[$x]);

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

                    if (!empty($warning_message)) {

Method name "GradebookTable::build_name_link" is not in camel caps format
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)

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

                            $course_codes[] = $course_code;

Method name "GradebookTable::build_id_column" is not in camel caps format
Open

    private function build_id_column($item)

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

                $weight_categories = $certificate_min_scores = $course_codes = [];

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

                            ($certificate_min_score > $weight_category)

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

                        echo Display::return_message($warning_message, 'warning', false);

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

                    return '['.get_lang('Score').']&nbsp;&nbsp;'.$item->get_name().$show_message;

Method name "GradebookTable::build_edit_column" is not in camel caps format
Open

    private function build_edit_column($item)

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

                $weight_categories = $certificate_min_scores = $course_codes = [];

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

            $pChart->Antialias = false;

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

                } elseif (ScoreDisplay::instance()->is_custom() && empty($show_message)) {

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

                $weight_categories = $certificate_min_scores = $course_codes = [];

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

                        if ($course_code_category == $course_code) {

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

                        $course_codes[] = $course_code_category;

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

                $show_message = Category::show_message_resource_delete($course_id);

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

                            $course_codes[] = $course_code;

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

                        $weight_categories[] = intval($this->build_weight($category));

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

                        $weight_category = intval($weight_categories[$x]);

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

                if (isset($is_student) || $isStudentView) {

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

                    $prms_uri = $prms_uri.'&amp;isStudentView=studentview';

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

                $show_message = Category::show_message_resource_delete($item->getCourseId());

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

                if (api_is_allowed_to_edit() && empty($show_message)) {

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

                            .'<a href="gradebook_view_result.php?cidReq='.$course_id.'&amp;selecteval='.$item->get_id().'">'

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

                if (isset($url) && empty($show_message)) {

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

                $text .= "&nbsp;".$extra.$show_message;

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

                        $course_code = $course_codes[$x];

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

                            $warning_message .= $course_code.

Method name "GradebookTable::build_weight" is not in camel caps format
Open

    private function build_weight($item)

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

        $is_student = api_is_student();

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

                $show_message = Category::show_message_resource_delete($course_id);

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

                $show_message = Category::show_message_resource_delete($course_id);

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

                        if ($course_code_category == $course_code) {

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

                $show_message = Category::show_message_resource_delete($course_id);

Method name "GradebookTable::build_certificate_min_score" is not in camel caps format
Open

    private function build_certificate_min_score($item)

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

                    is_array($certificate_min_scores) &&

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

                    is_array($course_codes)

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

                $course_id = CourseManager::get_course_by_category($categoryId);

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

                    if (!empty($course_code)) {

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

                    $warning_message = '';

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

                        $certificate_min_score = intval($certificate_min_scores[$x]);

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

                            $warning_message .= $course_code.

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

                $prms_uri = '?selectcat='.$item->get_id().'&view='.$view;

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

                    for ($x = 0; $x < count($weight_categories); $x++) {

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

                        $weight_category = intval($weight_categories[$x]);

Method name "GradebookTable::build_course_code" is not in camel caps format
Open

    private function build_course_code($item)

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

                    .($item->is_course() ? ' &nbsp;['.$item->get_course_code().']'.$show_message : '');

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

                    $course_code_category = $this->build_course_code($category);

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

                        $certificate_min_scores[] = intval($this->build_certificate_min_score($category));

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

                        if (empty($certificate_min_score) ||

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

                                '&nbsp;'.$weight_category.'<br />';

Method name "GradebookTable::build_type_column" is not in camel caps format
Open

    private function build_type_column($item, $style = null)

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

                    $prms_uri = $prms_uri.'&amp;isStudentView=studentview';

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

                $course_id = CourseManager::get_course_by_category($categoryId);

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

                } elseif (empty($show_message) && !api_is_allowed_to_edit() && !ScoreDisplay::instance()->is_custom()) {

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

                        $new_content = explode('</head>', $content_html['content']);

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

                            $weight_categories[] = intval($this->build_weight($category));

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

                            ($certificate_min_score > $weight_category)

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

                return '&nbsp;<a href="'.Category::getUrl().$prms_uri.'">'

The variable $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sub_cat_info is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $user_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array2 is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $value_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sub_cat_info is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $value_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $value_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $user_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $eval_n_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $user_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $eval_n_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $id_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $value_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $value_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_score is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sub_cat_info is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $id_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sub_cat_info is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sub_cat_info is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array2 is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $col_adjust is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_close is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $data_array is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $parent_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $main_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $session_id is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $invisibility_span_open is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_id is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $prms_uri is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $course_id is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_codes is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $content_html is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $new_content is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $new_content is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_scores is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_codes is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $sortable_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $modify_icons is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_codes is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $is_student is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $prms_uri is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $course_id is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_scores is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_scores is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_score is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $is_student is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $id_cat is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_codes is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $modify_icons is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_id is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $prms_uri is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_codes is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $course_code is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_total_links is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $warning_message is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $prms_uri is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $weight_category is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $content_html is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $content_html is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $weight_categories is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $show_message is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $course_id is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 $certificate_min_scores is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_scores is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_score is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 $certificate_min_score is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 get_total_number_of_items is not named in camelCase.
Open

    public function get_total_number_of_items()
    {
        return $this->datagen->get_total_items_count();
    }

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 get_data is not named in camelCase.
Open

    public function get_data()
    {
        return $this->datagen;
    }

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 build_weight is not named in camelCase.
Open

    private function build_weight($item)
    {
        return $item->get_weight();
    }

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 build_course_code is not named in camelCase.
Open

    private function build_course_code($item)
    {
        return $item->get_course_code();
    }

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 get_table_data is not named in camelCase.
Open

    public function get_table_data($from = 1, $perPage = null, $column = null, $direction = null, $sort = null)
    {
        //variables load in index.php
        global $certificate_min_score;

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 build_name_link is not named in camelCase.
Open

    private function build_name_link($item, $type = 'detail', $spaces = 0)
    {
        $view = isset($_GET['view']) ? Security::remove_XSS($_GET['view']) : null;
        $categoryId = $item->getCategory()->get_id();
        $is_student = api_is_student();

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 build_type_column is not named in camelCase.
Open

    private function build_type_column($item, $style = null)
    {
        return GradebookUtils::build_type_icon_tag($item->get_icon_name(), $style);
    }

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 build_certificate_min_score is not named in camelCase.
Open

    private function build_certificate_min_score($item)
    {
        return $item->getCertificateMinScore();
    }

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 build_id_column is not named in camelCase.
Open

    private function build_id_column($item)
    {
        switch ($item->get_item_type()) {
            // category
            case 'C':

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 build_edit_column is not named in camelCase.
Open

    private function build_edit_column($item)
    {
        switch ($item->get_item_type()) {
            case 'C':
                // Category

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