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 = [],
- Exclude checks
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 = [],
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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];
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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);
}
- Read upRead up
- Exclude checks
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++,
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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,
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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 = '';
}
- Read upRead up
- Exclude checks
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,
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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,
- Read upRead up
- Exclude checks
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,
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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');
}
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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]
);
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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];
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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);
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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)
- Read upRead up
- Exclude checks
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];
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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:
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.'<strong>'.$item->get_name().'</strong>'.$invisibility_span_close;
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.'<strong>'.$item->get_name().'</strong>'.$invisibility_span_close;
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$invisibility_span_close;
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
if (count($main_cat) > 1) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$score = $main_cat[0]->calc_score(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$totalRanking = AbstractLink::getCurrentUserRanking($user_id, $totalRanking);
- Exclude checks
Variable "odd_even_rows_enabled" is not in valid camel caps format Open
$this->odd_even_rows_enabled = false;
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$name.$invisibility_span_close;
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links = 0;
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$weight.$invisibility_span_close;
- Exclude checks
Variable "eval_n_links" is not in valid camel caps format Open
if (count($eval_n_links) > 0) {
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$invisibility_span_open = $isAllowedToEdit && '0' == $item->is_visible() ? '<span class="text-muted">' : '';
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
$weight_category = (int) $this->build_weight($category[0]);
- Exclude checks
Variable "sub_cat_info" is not in valid camel caps format Open
$sub_cat_info->userId = $user_id;
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
if ($weight_total_links > $weight_category ||
- Exclude checks
Variable "content_html" is not in valid camel caps format Open
$content_html = DocumentManager::replace_user_info_into_html(
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$invisibility_span_close = $isAllowedToEdit && '0' == $item->is_visible() ? '</span>' : '';
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
'child_of' => $parent_id,
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
if (count($main_cat) > 1) {
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data[] = $row;
- Exclude checks
Variable "id_cat" is not in valid camel caps format Open
$id_cat = (int) $_GET['selectcat'];
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
case 1 + $col_adjust:
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
foreach ($data_array as $data) {
- Exclude checks
Variable "value_data" is not in valid camel caps format Open
$value_data = isset($data[4]) ? $data[4] : null;
- Exclude checks
Variable "sub_cat_info" is not in valid camel caps format Open
$sub_cat_info->preLoadDataKey = $this->getPreloadDataKey();
- Exclude checks
Variable "content_html" is not in valid camel caps format Open
if (!empty($content_html)) {
- Exclude checks
Variable "value_data" is not in valid camel caps format Open
$row[] = $value_data;
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data[] = $row;
- Exclude checks
Variable "sub_cat_info" is not in valid camel caps format Open
$sub_cat_info->exportToPdf = $this->exportToPdf;
- Exclude checks
Variable "data_array2" is not in valid camel caps format Open
$data_array2 = $sub_cat_info->get_data(
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page,
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$data[2].$invisibility_span_close;
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
if (empty($show_message)) {
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
$weight_total_links < $weight_category ||
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
if (empty($session_id)) {
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$data[2].$invisibility_span_close;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$parent_id = $item->get_id();
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$parent_id,
- Exclude checks
Variable "value_data" is not in valid camel caps format Open
if (!is_null($value_data)) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_cat[0]->setStudentList($this->studentList);
- Exclude checks
Variable "modify_icons" is not in valid camel caps format Open
$warning_message .= $modify_icons;
- Exclude checks
Method name "GradebookTable::get_total_number_of_items" is not in camel caps format Open
public function get_total_number_of_items()
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "main_categories" is not in valid camel caps format Open
$main_categories[$item->get_id()]['name'] = $item->get_name();
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$data[2].$invisibility_span_close;
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.' '.
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$data[2].$invisibility_span_close;
- Exclude checks
Variable "eval_n_links" is not in valid camel caps format Open
$eval_n_links = array_merge($alleval, $alllink);
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
$warning_message .= $modify_icons;
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$visibleItems = array_merge($this->datagen->items, $this->evals_links);
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
if (!empty($data_array)) {
- Exclude checks
Variable "main_categories" is not in valid camel caps format Open
$main_categories[$item->get_id()]['weight'] = $item->get_weight();
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$weight.$invisibility_span_close;
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links < $weight_category ||
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
$weight_total_links > $weight_category
- Exclude checks
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);
- Exclude checks
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().'">'.
- Exclude checks
Variable "certificate_min_score" is not in valid camel caps format Open
global $certificate_min_score;
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
case 2 + $col_adjust:
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id,
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$invisibility_span_close = $isAllowedToEdit && '0' == $item->is_visible() ? '</span>' : '';
- Exclude checks
Variable "main_categories" is not in valid camel caps format Open
$main_categories[$parent_id]['children'][$item->get_id()]['weight'] = $item->get_weight();
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data[] = $row;
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
if (!empty($data_array)) {
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data[] = $row;
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$mainWeight = (int) $main_cat[0]->get_weight();
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links > $weight_category
- Exclude checks
Variable "modify_icons" is not in valid camel caps format Open
$modify_icons =
- Exclude checks
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]);
- Exclude checks
Missing function doc comment Open
public function preloadData()
- Exclude checks
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)
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
$col_adjust = $isAllowedToEdit ? 1 : 0;
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
if (empty($show_message)) {
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$this->build_name_link($item, $type, 4).$invisibility_span_close;
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($item->getCourseId());
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data[] = $row;
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$localCourseInfo = api_get_course_info($course_code);
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links = round($weight_total_links);
- Exclude checks
Variable "new_content" is not in valid camel caps format Open
$new_content = explode('</head>', $content_html['content']);
- Exclude checks
Variable "evals_links" is not in valid camel caps format Open
$this->evals_links = array_merge($evals, $links);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = $this->userId;
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($item->getCourseId());
- Exclude checks
Variable "value_data" is not in valid camel caps format Open
$value_data = isset($data[4]) ? $data[4] : null;
- Exclude checks
Variable "value_data" is not in valid camel caps format Open
$row[] = $value_data;
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$row['child_of'] = $parent_id;
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
if ($weight_total_links > $weight_category ||
- Exclude checks
Method name "GradebookTable::get_data" is not in camel caps format Open
public function get_data()
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$allcat = $subCategory->get_subcategories($this->userId, $courseId, $session_id);
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$weight.$invisibility_span_close;
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links = round($weight_total_links);
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
echo Display::return_message($warning_message, 'warning', false);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = api_get_course_id();
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page,
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
$sortable_data = [];
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$name.$invisibility_span_close;
- Exclude checks
Variable "main_categories" is not in valid camel caps format Open
$main_categories[$item->get_id()]['name'] = $name;
- Exclude checks
Variable "data_array2" is not in valid camel caps format Open
foreach ($data_array2 as $data) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
if (count($main_cat) > 1) {
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = api_get_course_id();
- Exclude checks
Variable "weight_total_links" is not in valid camel caps format Open
$weight_total_links += $data[3];
- Exclude checks
Variable "sub_cat_info" is not in valid camel caps format Open
$sub_cat_info = new GradebookDataGenerator($allcat, $alleval, $alllink);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$sub_cat_info->userId = $user_id;
- Exclude checks
Variable "sub_cat_info" is not in valid camel caps format Open
$data_array2 = $sub_cat_info->get_data(
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$invisibility_span_open = $isAllowedToEdit && '0' == $item->is_visible() ? '<span class="text-muted">' : '';
- Exclude checks
Variable "main_categories" is not in valid camel caps format Open
$main_categories[$parent_id]['children'][$item->get_id()]['name'] = $item->get_name();
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$main_categories[$parent_id]['children'][$item->get_id()]['weight'] = $item->get_weight();
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
case 3 + $col_adjust:
- Exclude checks
Variable "data_array" is not in valid camel caps format Open
$data_array = $this->datagen->get_data(
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$main_cat = Category::load(
- Exclude checks
Variable "session_id" is not in valid camel caps format Open
$session_id = api_get_session_id();
- Exclude checks
Variable "invisibility_span_open" is not in valid camel caps format Open
$row[] = $invisibility_span_open.
- Exclude checks
Variable "parent_id" is not in valid camel caps format Open
$main_categories[$parent_id]['children'][$item->get_id()]['name'] = $item->get_name();
- Exclude checks
Variable "invisibility_span_close" is not in valid camel caps format Open
$row[] = $invisibility_span_open.$weight.$invisibility_span_close;
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
case 0 + $col_adjust:
- Exclude checks
Variable "id_cat" is not in valid camel caps format Open
$category = Category::load($id_cat);
- Exclude checks
Variable "col_adjust" is not in valid camel caps format Open
case 5 + $col_adjust:
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = $this->build_course_code($category[0]);
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
foreach ($main_cat as $myCat) {
- Exclude checks
Variable "main_cat" is not in valid camel caps format Open
$categoryId = $main_cat[0]->get_id();
- Exclude checks
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);
- Exclude checks
Variable "new_content" is not in valid camel caps format Open
if (empty($new_content[0])) {
- Exclude checks
Variable "course_code_category" is not in valid camel caps format Open
$course_codes[] = $course_code_category;
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_code = $course_codes[$x];
- Exclude checks
Variable "sortable_data" is not in valid camel caps format Open
return $sortable_data;
- Exclude checks
Variable "certificate_min_scores" is not in valid camel caps format Open
$certificate_min_scores[] = intval($this->build_certificate_min_score($category));
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
if (is_array($weight_categories) &&
- Exclude checks
Variable "certificate_min_scores" is not in valid camel caps format Open
$certificate_min_score = intval($certificate_min_scores[$x]);
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
if (!empty($warning_message)) {
- Exclude checks
Method name "GradebookTable::build_name_link" is not in camel caps format Open
private function build_name_link($item, $type = 'detail', $spaces = 0)
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$course_codes[] = $course_code;
- Exclude checks
Method name "GradebookTable::build_id_column" is not in camel caps format Open
private function build_id_column($item)
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
$weight_categories = $certificate_min_scores = $course_codes = [];
- Exclude checks
Variable "certificate_min_score" is not in valid camel caps format Open
($certificate_min_score > $weight_category)
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
echo Display::return_message($warning_message, 'warning', false);
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
return '['.get_lang('Score').'] '.$item->get_name().$show_message;
- Exclude checks
Method name "GradebookTable::build_edit_column" is not in camel caps format Open
private function build_edit_column($item)
- Exclude checks
Variable "course_codes" is not in valid camel caps format Open
$weight_categories = $certificate_min_scores = $course_codes = [];
- Exclude checks
Variable "Antialias" is not in valid camel caps format Open
$pChart->Antialias = false;
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
} elseif (ScoreDisplay::instance()->is_custom() && empty($show_message)) {
- Exclude checks
Variable "certificate_min_scores" is not in valid camel caps format Open
$weight_categories = $certificate_min_scores = $course_codes = [];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
if ($course_code_category == $course_code) {
- Exclude checks
Variable "course_codes" is not in valid camel caps format Open
$course_codes[] = $course_code_category;
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($course_id);
- Exclude checks
Variable "course_codes" is not in valid camel caps format Open
$course_codes[] = $course_code;
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
$weight_categories[] = intval($this->build_weight($category));
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
$weight_category = intval($weight_categories[$x]);
- Exclude checks
Variable "is_student" is not in valid camel caps format Open
if (isset($is_student) || $isStudentView) {
- Exclude checks
Variable "prms_uri" is not in valid camel caps format Open
$prms_uri = $prms_uri.'&isStudentView=studentview';
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($item->getCourseId());
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
if (api_is_allowed_to_edit() && empty($show_message)) {
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
.'<a href="gradebook_view_result.php?cidReq='.$course_id.'&selecteval='.$item->get_id().'">'
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
if (isset($url) && empty($show_message)) {
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$text .= " ".$extra.$show_message;
- Exclude checks
Variable "course_codes" is not in valid camel caps format Open
$course_code = $course_codes[$x];
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
$warning_message .= $course_code.
- Exclude checks
Method name "GradebookTable::build_weight" is not in camel caps format Open
private function build_weight($item)
- Exclude checks
Variable "is_student" is not in valid camel caps format Open
$is_student = api_is_student();
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($course_id);
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($course_id);
- Exclude checks
Variable "course_code_category" is not in valid camel caps format Open
if ($course_code_category == $course_code) {
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
$show_message = Category::show_message_resource_delete($course_id);
- Exclude checks
Method name "GradebookTable::build_certificate_min_score" is not in camel caps format Open
private function build_certificate_min_score($item)
- Exclude checks
Variable "certificate_min_scores" is not in valid camel caps format Open
is_array($certificate_min_scores) &&
- Exclude checks
Variable "course_codes" is not in valid camel caps format Open
is_array($course_codes)
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = CourseManager::get_course_by_category($categoryId);
- Exclude checks
Variable "course_code" is not in valid camel caps format Open
if (!empty($course_code)) {
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
$warning_message = '';
- Exclude checks
Variable "certificate_min_score" is not in valid camel caps format Open
$certificate_min_score = intval($certificate_min_scores[$x]);
- Exclude checks
Variable "warning_message" is not in valid camel caps format Open
$warning_message .= $course_code.
- Exclude checks
Variable "prms_uri" is not in valid camel caps format Open
$prms_uri = '?selectcat='.$item->get_id().'&view='.$view;
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
for ($x = 0; $x < count($weight_categories); $x++) {
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
$weight_category = intval($weight_categories[$x]);
- Exclude checks
Method name "GradebookTable::build_course_code" is not in camel caps format Open
private function build_course_code($item)
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
.($item->is_course() ? ' ['.$item->get_course_code().']'.$show_message : '');
- Exclude checks
Variable "course_code_category" is not in valid camel caps format Open
$course_code_category = $this->build_course_code($category);
- Exclude checks
Variable "certificate_min_scores" is not in valid camel caps format Open
$certificate_min_scores[] = intval($this->build_certificate_min_score($category));
- Exclude checks
Variable "certificate_min_score" is not in valid camel caps format Open
if (empty($certificate_min_score) ||
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
' '.$weight_category.'<br />';
- Exclude checks
Method name "GradebookTable::build_type_column" is not in camel caps format Open
private function build_type_column($item, $style = null)
- Exclude checks
Variable "prms_uri" is not in valid camel caps format Open
$prms_uri = $prms_uri.'&isStudentView=studentview';
- Exclude checks
Variable "course_id" is not in valid camel caps format Open
$course_id = CourseManager::get_course_by_category($categoryId);
- Exclude checks
Variable "show_message" is not in valid camel caps format Open
} elseif (empty($show_message) && !api_is_allowed_to_edit() && !ScoreDisplay::instance()->is_custom()) {
- Exclude checks
Variable "content_html" is not in valid camel caps format Open
$new_content = explode('</head>', $content_html['content']);
- Exclude checks
Variable "weight_categories" is not in valid camel caps format Open
$weight_categories[] = intval($this->build_weight($category));
- Exclude checks
Variable "weight_category" is not in valid camel caps format Open
($certificate_min_score > $weight_category)
- Exclude checks
Variable "prms_uri" is not in valid camel caps format Open
return ' <a href="'.Category::getUrl().$prms_uri.'">'
- Exclude checks
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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It 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();
}
- Read upRead up
- Exclude checks
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;
}
- Read upRead up
- Exclude checks
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();
}
- Read upRead up
- Exclude checks
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();
}
- Read upRead up
- Exclude checks
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;
- Read upRead up
- Exclude checks
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();
- Read upRead up
- Exclude checks
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);
}
- Read upRead up
- Exclude checks
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();
}
- Read upRead up
- Exclude checks
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':
- Read upRead up
- Exclude checks
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
- Read upRead up
- Exclude checks
CamelCaseMethodName
Since: 0.2
It is considered best practice to use the camelCase notation to name methods.
Example
class ClassName {
public function get_name() {
}
}