The method return_table() has an NPath complexity of 2592. The configured NPath complexity threshold is 200. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 __construct() has an NPath complexity of 51200. The configured NPath complexity threshold is 200. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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_page_select_form() has an NPath complexity of 480. The configured NPath complexity threshold is 200. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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_additional_url_paramstring() has an NPath complexity of 388. The configured NPath complexity threshold is 200. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 processHeaders() has an NPath complexity of 253. The configured NPath complexity threshold is 200. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 display_simple_grid() has an NPath complexity of 2880. The configured NPath complexity threshold is 200. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 '$params' which will lead to PHP notices. Open
$params['lastPagePre'] = '';
- 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 '$params' which will lead to PHP notices. Open
$params['firstPageText'] = Display::getMdiIcon('step-backward-2');
- 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 '$params' which will lead to PHP notices. Open
$params['lastPageText'] = Display::getMdiIcon('step-forward-2');
- 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 '$params' which will lead to PHP notices. Open
$params['firstPagePre'] = '';
- 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 '$params' which will lead to PHP notices. Open
$params['curPageLinkClassName'] = 'ch-pager';
- 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 '$params' which will lead to PHP notices. Open
$this->pager = &Pager::factory($params);
- 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 '$params' which will lead to PHP notices. Open
$params['excludeVars'] = $query_vars_exclude;
- 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 '$params' which will lead to PHP notices. Open
$params['currentPage'] = $this->page_nr;
- 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 '$params' which will lead to PHP notices. Open
$params['perPage'] = $this->per_page;
- 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 '$params' which will lead to PHP notices. Open
$params['urlVar'] = $this->param_prefix.'page_nr';
- 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 '$params' which will lead to PHP notices. Open
$params['nextImg'] = Display::getMdiIcon('step-forward');
- 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 '$params' which will lead to PHP notices. Open
$params['firstPagePost'] = '';
- 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 '$params' which will lead to PHP notices. Open
$params['spacesBeforeSeparator'] = '';
- 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 '$params' which will lead to PHP notices. Open
$params['mode'] = 'Sliding';
- 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 '$params' which will lead to PHP notices. Open
$params['spacesAfterSeparator'] = '';
- 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 '$params' which will lead to PHP notices. Open
$params['prevImg'] = Display::getMdiIcon('step-backward');
- 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 '$params' which will lead to PHP notices. Open
$params['totalItems'] = $this->get_total_number_of_items();
- 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 '$params' which will lead to PHP notices. Open
$params['lastPagePost'] = '';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<form method="GET" action="'.api_get_self().'" style="display:inline;">';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<select style="width: auto;" class="form-control" name="'.$this->param_prefix
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<option value="'.$total_number_of_items.'" '
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<button class="btn btn--success" type="submit">'.get_lang('Save').'</button>';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '</noscript>';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '</form>';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<option value="'.$nr.'" '.($nr == $this->per_page ? 'selected="selected"' : '').'>'.$nr
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<input type="hidden" name="'.$key.'" value="'.$value.'"/>';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '</select>';
- 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 '$result' which will lead to PHP notices. Open
$result[] = '<noscript>';
- 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 '$result' which will lead to PHP notices. Open
return implode("\n", $result);
- 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 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 ('ASC' === $my_get_direction) {
$this->direction = 'ASC';
} elseif ('DESC' === $my_get_direction) {
$this->direction = 'DESC';
- 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 ('ASC' === $my_session_direction) {
$this->direction = 'ASC';
} elseif ('DESC' === $my_session_direction) {
$this->direction = 'DESC';
- 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 return_table uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$html .= $form;
}
- 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 display_simple_grid uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// The normal way
$items = $this->get_clean_html($sort_data); // Getting the items of the table
}
- 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 display_simple_grid uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$filter = false !== $visibility_options;
}
- 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_additional_url_paramstring uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$param[$tablename.'_direction'] = $my_get_direction;
}
- 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 local variables such as '$icon_attributes'. Open
$icon_attributes = ['style' => 'vertical-align: middle;'];
- 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 '$sort'. Open
$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 '$direction'. Open
$direction = 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 '$index'. Open
foreach ($this->other_tables as $index => &$tablename) {
- 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 local variables such as '$index'. Open
foreach ($table_data as $index => &$row) {
- 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 '$column'. Open
$column = 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 '$perPage'. Open
$perPage = 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
The property $get_total_number_function is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $additional_parameters is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $param_prefix is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $table_id is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $table_name is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $table_data is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $get_total_number_function is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $get_data_function is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $use_jqgrid is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $odd_even_rows_enabled is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $table_id is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $td_attributes is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $default_items_per_page is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $default_order_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $page_nr is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $default_items_per_page is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $other_tables is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $table_name is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $form_actions is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $get_data_function is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The property $column_filters is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $th_attributes is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $total_number_of_items is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The property $per_page is not named in camelCase. Open
class SortableTable extends HTML_Table
{
/**
* A name for this table.
*/
- 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
The parameter $default_column is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $td_attributes is not named in camelCase. Open
public function set_header(
$column,
$label,
$sortable = true,
$th_attributes = ['class' => 'th-header'],
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $checkbox_name is not named in camelCase. Open
public function set_form_actions($actions, $checkbox_name = 'id')
{
$this->form_actions = $actions;
$this->checkbox_name = $checkbox_name;
}
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $hide_navigation is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $sort_data is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $visibility_options is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $th_attributes is not named in camelCase. Open
public function set_header(
$column,
$label,
$sortable = true,
$th_attributes = ['class' => 'th-header'],
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
The parameter $per_page is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- Read upRead up
- Exclude checks
CamelCaseParameterName
Since: 0.2
It is considered best practice to use the camelCase notation to name parameters.
Example
class ClassName {
public function doSomething($user_name) {
}
}
Source
Variable "table_name" is not in valid camel caps format Open
$this->table_name = $table_name;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$my_get_direction = $_GET[$this->param_prefix.'direction'];
- Exclude checks
Variable "column_filters" is not in valid camel caps format Open
$this->column_filters = [];
- Exclude checks
Method name "SortableTable::get_pager" is not in camel caps format Open
public function get_pager()
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (!empty($this->additional_parameters)) {
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
.'" name="form_'.$this->table_name.'">';
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$grid_css_class = $grid_class['main']['class'];
- Exclude checks
Variable "grid_css_class" is not in valid camel caps format Open
'class' => $grid_css_class.' '.$this->table_name.'_grid_container',
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'direction'] = $this->direction;
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
$this->td_attributes[$column] = $td_attributes;
- Exclude checks
Member variable "th_attributes" is not in valid camel caps format Open
public $th_attributes;
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
: $this->per_page;
- Exclude checks
Variable "default_order_direction" is not in valid camel caps format Open
if (in_array(strtoupper($default_order_direction), ['ASC', 'DESC'])) {
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
if (!in_array($my_get_direction, ['ASC', 'DESC'])) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::write($this->param_prefix.'direction', $this->direction);
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
Session::write($this->param_prefix.'page_nr', $this->page_nr);
- Exclude checks
Variable "get_total_number_function" is not in valid camel caps format Open
$this->get_total_number_function = $get_total_number_function;
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = false;
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
foreach ($this->form_actions as $action => $label) {
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
'onclick' => "javascript:action_click(this, '$table_id');",
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$this->setCellContents(1, 0, $message_empty);
- Exclude checks
Variable "sort_data" is not in valid camel caps format Open
$sort_data = true,
- Exclude checks
Variable "visibility_options" is not in valid camel caps format Open
$filter = false !== $visibility_options;
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
if (is_array($table_data)) {
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
foreach ($this->th_attributes as $column => $attributes) {
- Exclude checks
Variable "new_table_data" is not in valid camel caps format Open
return $new_table_data;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$result[] = '<select style="width: auto;" class="form-control" name="'.$this->param_prefix
- Exclude checks
Variable "showed_items" is not in valid camel caps format Open
$showed_items = $pager->getOffsetByPageId();
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
$td_attributes = $columnInfo['td_attributes'];
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$param['page_nr'] = $this->page_nr;
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
- Exclude checks
Member variable "form_actions" is not in valid camel caps format Open
public $form_actions;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
? (int) $_GET[$this->param_prefix.'per_page']
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->page_nr = isset($_GET[$this->param_prefix.'page_nr'])
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
$this->th_attributes = [];
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->param_prefix.'per_page',
- Exclude checks
Variable "hide_navigation" is not in valid camel caps format Open
$hide_navigation = true,
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
if (!empty($grid_class)) {
- Exclude checks
Variable "grid_css_style" is not in valid camel caps format Open
$grid_css_style = isset($grid_class['main']['style']) ? $grid_class['main']['style'] : null;
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$table_data = $this->get_table_data($from, $this->per_page, $this->column);
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
$result[] = '<option value="'.$total_number_of_items.'" '
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$link .= $this->param_prefix.$key.'='.urlencode($value).'&';
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'column'] = $this->column;
- Exclude checks
Member variable "total_number_of_items" is not in valid camel caps format Open
public $total_number_of_items;
- Exclude checks
Member variable "td_attributes" is not in valid camel caps format Open
public $td_attributes;
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
if (empty($table_id)) {
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page = Session::read($this->param_prefix.'per_page', $default_items_per_page);
- Exclude checks
Variable "default_order_direction" is not in valid camel caps format Open
$this->direction = $default_order_direction;
- Exclude checks
Variable "my_session_direction" is not in valid camel caps format Open
$my_session_direction = Session::read($this->param_prefix.'direction');
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
$my_get_direction = $_GET[$this->param_prefix.'direction'];
- Exclude checks
Variable "get_total_number_function" is not in valid camel caps format Open
$this->get_total_number_function = $get_total_number_function;
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$_GET[$this->param_prefix.'per_page'] = $this->default_items_per_page;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$_GET[$this->param_prefix.'column'] = $this->defaultColumn;
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
array_keys($this->additional_parameters)
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
if ($empty_table) {
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$table_id = 'form_'.$this->table_name.'_id';
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Variable "item_css_style" is not in valid camel caps format Open
$item_css_class = $item_css_style = $grid_css_class = $grid_css_style = '';
- Exclude checks
Variable "grid_css_style" is not in valid camel caps format Open
$item_css_class = $item_css_style = $grid_css_class = $grid_css_style = '';
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$rows .= '<div class="'.$this->table_name.'_grid_element_'.$i.'">'.$element.'</div>';
- Exclude checks
Variable "pager_links" is not in valid camel caps format Open
$nav = $pager_links['first'].' '.$pager_links['back'];
- Exclude checks
Member variable "odd_even_rows_enabled" is not in valid camel caps format Open
public $odd_even_rows_enabled = true;
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
$table_data = $this->get_table_data($from, null, null, null, $sort);
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$default_items_per_page = 20,
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
if (is_array($table_data)) {
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$this->defaultItemsPerPage = $default_items_per_page;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->per_page = Session::read($this->param_prefix.'per_page', $default_items_per_page);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
? (int) $_GET[$this->param_prefix.'page_nr']
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
foreach ($table_data as $index => &$row) {
- Exclude checks
Method name "SortableTable::get_page_select_form" is not in camel caps format Open
public function get_page_select_form(): string
- Exclude checks
Variable "my_session_direction" is not in valid camel caps format Open
if (!in_array($my_session_direction, ['ASC', 'DESC'])) {
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
$th_attributes = $columnInfo['th_attributes'];
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$result .= '&'.implode('&', $param_string_parts);
- Exclude checks
Variable "get_data_function" is not in valid camel caps format Open
$this->get_data_function = $get_data_function;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$_GET[$this->param_prefix.'direction'] = $this->direction;
- Exclude checks
Variable "query_vars_needed" is not in valid camel caps format Open
$query_vars_needed = [
- Exclude checks
Method name "SortableTable::get_sortable_table_param_string" is not in camel caps format Open
public function get_sortable_table_param_string()
- Exclude checks
Method name "SortableTable::return_table" is not in camel caps format Open
public function return_table()
- Exclude checks
Method name "SortableTable::display_grid" is not in camel caps format Open
public function display_grid()
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = true;
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
if ($this->get_total_number_of_items() > $per_page) {
- Exclude checks
Variable "sort_data" is not in valid camel caps format Open
$items = $this->get_clean_html($sort_data); // Getting the items of the table
- Exclude checks
Variable "item_css_class" is not in valid camel caps format Open
'class' => $item_css_class.' '.$this->table_name.'_grid_item',
- Exclude checks
Missing parameter name Open
* @param bool true for sorting table data or false otherwise
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
$total_number_of_items = $this->get_total_number_of_items();
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (is_array($this->additional_parameters)) {
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
'td_attributes' => $td_attributes,
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
if (!in_array($my_get_direction, ['ASC', 'DESC'])) {
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts[] = urlencode($key).'='.urlencode($value);
- Exclude checks
Member variable "table_data" is not in valid camel caps format Open
public $table_data;
- Exclude checks
Member variable "table_name" is not in valid camel caps format Open
public $table_name;
- Exclude checks
Variable "default_column" is not in valid camel caps format Open
$this->defaultColumn = (int) $default_column;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$_GET[$this->param_prefix.'page_nr'] = 1;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->column = isset($_GET[$this->param_prefix.'column'])
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
? (int) $_GET[$this->param_prefix.'column']
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$table_name = 'table',
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (!empty($this->additional_parameters) && count($this->additional_parameters) > 0) {
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$attributes['id'] = $table_id;
- Exclude checks
Variable "query_vars_exclude" is not in valid camel caps format Open
$query_vars_exclude = array_diff($query_vars, $query_vars_needed);
- Exclude checks
Variable "checkbox_name" is not in valid camel caps format Open
$this->checkbox_name = null;
- Exclude checks
Missing function doc comment Open
public function toArray()
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Missing parameter name Open
* @param bool hide navigation optionally
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
$this->td_attributes = [];
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$per_page = 20,
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->param_prefix.'direction',
- Exclude checks
Variable "grid_css_class" is not in valid camel caps format Open
$grid_css_class = $grid_class['main']['class'];
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$grid_css_style = isset($grid_class['main']['style']) ? $grid_class['main']['style'] : null;
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$item_css_style = isset($grid_class['item']['style']) ? $grid_class['item']['style'] : null;
- Exclude checks
Variable "pager_links" is not in valid camel caps format Open
$nav = $pager_links['first'].' '.$pager_links['back'];
- Exclude checks
Variable "visibility_options" is not in valid camel caps format Open
if ($filter || isset($visibility_options[$i]) && $visibility_options[$i]
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
$table_data = $this->get_table_data($from, $this->per_page, $this->column);
- Exclude checks
Variable "showed_items" is not in valid camel caps format Open
return $showed_items[0].' - '.$showed_items[1].' / '.$this->get_total_number_of_items();
- Exclude checks
Variable "grid_css_style" is not in valid camel caps format Open
'style' => $grid_css_style,
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
$this->td_attributes[$column] = $td_attributes;
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$param[$this->param_prefix.'per_page'] = $this->per_page;
- Exclude checks
Method name "SortableTable::get_navigation_html" is not in camel caps format Open
public function get_navigation_html()
- Exclude checks
Variable "pager_links" is not in valid camel caps format Open
$nav .= $pager_links['next'].' '.$pager_links['last'];
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
$param = array_merge($param, $this->additional_parameters);
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
.($total_number_of_items == $this->per_page ? 'selected="selected"' : '')
- Exclude checks
Method name "SortableTable::get_table_title" is not in camel caps format Open
public function get_table_title()
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
$my_get_direction = $_GET[$tablename.'_direction'];
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'per_page'] = $this->per_page;
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts[] = urlencode($key).'='.urlencode($value);
- Exclude checks
Method name "SortableTable::set_form_actions" is not in camel caps format Open
public function set_form_actions($actions, $checkbox_name = 'id')
- Exclude checks
Variable "checkbox_name" is not in valid camel caps format Open
public function set_form_actions($actions, $checkbox_name = 'id')
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$this->table_id = $table_id;
- Exclude checks
Variable "my_session_direction" is not in valid camel caps format Open
if (!empty($my_session_direction)) {
- Exclude checks
Variable "my_session_direction" is not in valid camel caps format Open
} elseif ('DESC' === $my_session_direction) {
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
if ('ASC' === $my_get_direction) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::write($this->param_prefix.'per_page', $this->per_page);
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$params['perPage'] = $this->per_page;
- Exclude checks
Variable "query_vars" is not in valid camel caps format Open
$query_vars = array_keys($_GET);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->param_prefix.'column',
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
foreach ($this->additional_parameters as $key => $value) {
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$grid_class = []
- Exclude checks
Variable "hide_navigation" is not in valid camel caps format Open
if (!$hide_navigation) {
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$result[] = '<option value="'.$nr.'" '.($nr == $this->per_page ? 'selected="selected"' : '').'>'.$nr
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
.($total_number_of_items == $this->per_page ? 'selected="selected"' : '')
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
$this->th_attributes[$column] = $th_attributes;
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts[] = urlencode($key).'='.urlencode($value);
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$result = implode('&', $param_string_parts);
- Exclude checks
Member variable "default_items_per_page" is not in valid camel caps format Open
public $default_items_per_page;
- Exclude checks
Variable "default_order_direction" is not in valid camel caps format Open
$default_order_direction = 'ASC',
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
if (!empty($this->per_page) && isset($_GET[$this->param_prefix.'per_page']) &&
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->per_page != $_GET[$this->param_prefix.'per_page']
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->per_page = isset($_GET[$this->param_prefix.'per_page'])
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
: $this->page_nr;
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
$this->total_number_of_items = -1;
- Exclude checks
Variable "other_tables" is not in valid camel caps format Open
$this->other_tables = [];
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (!empty($this->additional_parameters) && count($this->additional_parameters) > 0) {
- Exclude checks
Variable "query_vars_exclude" is not in valid camel caps format Open
$params['excludeVars'] = $query_vars_exclude;
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = true;
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
id ="'.$table_id.'"
- Exclude checks
Variable "my_pager" is not in valid camel caps format Open
$my_pager = $this->get_pager();
- Exclude checks
Missing parameter name Open
* @param bool sort data optionally
- Exclude checks
Method name "SortableTable::display_simple_grid" is not in camel caps format Open
public function display_simple_grid(
- Exclude checks
Variable "visibility_options" is not in valid camel caps format Open
if (is_array($visibility_options)) {
- Exclude checks
Method name "SortableTable::get_clean_html" is not in camel caps format Open
public function get_clean_html($sort = true)
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
$this->th_attributes[$column] = $th_attributes;
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
$th_attributes = ['class' => 'th-header'],
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
'th_attributes' => $th_attributes,
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
- Exclude checks
Member variable "table_id" is not in valid camel caps format Open
public $table_id = null;
- Exclude checks
Variable "get_total_number_function" is not in valid camel caps format Open
$get_total_number_function = null,
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->column = Session::read($this->param_prefix.'column', $default_column);
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
Session::write($this->param_prefix.'per_page', $this->per_page);
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$this->default_items_per_page = $default_items_per_page;
- Exclude checks
Variable "my_pager" is not in valid camel caps format Open
if ($my_pager->numPages() > 1) {
- Exclude checks
Missing parameter name Open
* @param int content per page when show navigation (optional)
- Exclude checks
Variable "visibility_options" is not in valid camel caps format Open
$visibility_options,
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
.'" name="form_'.$this->table_name.'">';
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts = [];
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
- Exclude checks
Member variable "additional_parameters" is not in valid camel caps format Open
public $additional_parameters;
- Exclude checks
Member variable "use_jqgrid" is not in valid camel caps format Open
public $use_jqgrid = false;
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$this->param_prefix = $table_name.'_';
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
if (isset($_GET[$this->param_prefix.'per_page'])) {
- Exclude checks
Variable "my_session_direction" is not in valid camel caps format Open
if ('ASC' === $my_session_direction) {
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
} elseif ('DESC' === $my_get_direction) {
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
$this->form_actions = [];
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$html .= '<a class="btn btn--action mr-2" href="?'.$params.'" onclick="javascript: setCheckbox(false, \''.$table_id.'\'); return false;">'
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
$items = $this->table_data; // This is a faster way to get what we want
- Exclude checks
Variable "new_table_data" is not in valid camel caps format Open
$new_table_data = [];
- Exclude checks
Variable "new_table_data" is not in valid camel caps format Open
$new_table_data[] = $row;
- Exclude checks
Member variable "page_nr" is not in valid camel caps format Open
public $page_nr;
- Exclude checks
Member variable "param_prefix" is not in valid camel caps format Open
public $param_prefix;
- Exclude checks
Variable "get_data_function" is not in valid camel caps format Open
$get_data_function = null,
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->param_prefix = $table_name.'_';
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page = isset($_GET[$this->param_prefix.'per_page'])
- Exclude checks
Variable "get_data_function" is not in valid camel caps format Open
$this->get_data_function = $get_data_function;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$_GET[$this->param_prefix.'per_page'] = $this->default_items_per_page;
- Exclude checks
Variable "query_vars_needed" is not in valid camel caps format Open
$query_vars_needed,
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$table_id = 'form_'.$this->table_name.'_id';
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$html .= '<a class="btn btn--action mr-2" href="?'.$params.'&'.$this->param_prefix.'selectall=1" onclick="javascript: setCheckbox(true, \''.$table_id.'\'); return false;">'
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
if ($this->get_total_number_of_items() > $this->default_items_per_page) {
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = false;
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
if (!$empty_table) {
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
'class' => $grid_css_class.' '.$this->table_name.'_grid_container',
- Exclude checks
Method name "SortableTable::get_table_html" is not in camel caps format Open
public function get_table_html()
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
foreach ($this->td_attributes as $column => $attributes) {
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
if ($total_number_of_items <= $nr) {
- Exclude checks
Variable "my_get_direction" is not in valid camel caps format Open
$param[$tablename.'_direction'] = $my_get_direction;
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts = [];
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
if (count($param_string_parts) > 0) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
- Exclude checks
Member variable "column_filters" is not in valid camel caps format Open
public $column_filters;
- Exclude checks
Variable "default_column" is not in valid camel caps format Open
$default_column = 1,
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$this->page_nr = Session::read($this->param_prefix.'page_nr', 1);
- Exclude checks
Variable "default_column" is not in valid camel caps format Open
$this->column = Session::read($this->param_prefix.'column', $default_column);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$params['urlVar'] = $this->param_prefix.'page_nr';
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$params['currentPage'] = $this->page_nr;
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
return array_merge([$headers], $this->table_data);
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$this->setCellContents(1, 0, $message_empty);
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = false;
- Exclude checks
Variable "message_empty" is not in valid camel caps format Open
$this->setCellContents(1, 0, $message_empty);
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
$empty_table = true;
- Exclude checks
Variable "hide_navigation" is not in valid camel caps format Open
if ($hide_navigation) {
- Exclude checks
Variable "pager_links" is not in valid camel caps format Open
$pager_links = $pager->getLinks();
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$param['per_page'] = $this->per_page;
- Exclude checks
Method name "SortableTable::set_header" is not in camel caps format Open
public function set_header(
- Exclude checks
Method name "SortableTable::get_additional_url_paramstring" is not in camel caps format Open
public function get_additional_url_paramstring()
- Exclude checks
Variable "other_tables" is not in valid camel caps format Open
foreach ($this->other_tables as $index => &$tablename) {
- Exclude checks
Method name "SortableTable::set_column_filter" is not in camel caps format Open
public function set_column_filter($column, $function)
- Exclude checks
Member variable "get_total_number_function" is not in valid camel caps format Open
public $get_total_number_function;
- Exclude checks
Member variable "other_tables" is not in valid camel caps format Open
public $other_tables;
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$this->table_id = $table_id;
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$this->defaultItemsPerPage = $default_items_per_page = $defaultRow;
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page != $_GET[$this->param_prefix.'per_page']
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::erase($this->param_prefix.'page_nr');
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::erase($this->param_prefix.'page_nr');
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$my_session_direction = Session::read($this->param_prefix.'direction');
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::write($this->param_prefix.'column', $this->column);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$prefix = $this->param_prefix;
- Exclude checks
Variable "query_vars_needed" is not in valid camel caps format Open
$query_vars_needed = array_merge(
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
name="form_'.$this->table_name.'">';
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$item_css_class = $grid_class['item']['class'];
- Exclude checks
Variable "item_css_style" is not in valid camel caps format Open
$item_css_style = isset($grid_class['item']['style']) ? $grid_class['item']['style'] : null;
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$item_css_style = isset($grid_class['item']['style']) ? $grid_class['item']['style'] : null;
- Exclude checks
Variable "visibility_options" is not in valid camel caps format Open
if ($filter || isset($visibility_options[$i]) && $visibility_options[$i]
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
'class' => $item_css_class.' '.$this->table_name.'_grid_item',
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
foreach ($table_data as &$row) {
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
if ($total_number_of_items <= $this->default_items_per_page) {
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
$td_attributes = null
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
foreach ($this->additional_parameters as $key => $value) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'direction'] = $this->direction;
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$res = implode('&', $param_string_parts);
- Exclude checks
Member variable "per_page" is not in valid camel caps format Open
public $per_page;
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$table_id = null,
- Exclude checks
Variable "table_id" is not in valid camel caps format Open
$table_id = $table_name.uniqid('table', true);
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$table_id = $table_name.uniqid('table', true);
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
$this->additional_parameters = [];
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
if (!empty($this->per_page) && isset($_GET[$this->param_prefix.'per_page']) &&
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$this->page_nr = Session::read($this->param_prefix.'page_nr', 1);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
if (isset($_GET[$this->param_prefix.'direction'])) {
- Exclude checks
Variable "query_vars_needed" is not in valid camel caps format Open
$query_vars_exclude = array_diff($query_vars, $query_vars_needed);
- Exclude checks
Variable "empty_table" is not in valid camel caps format Open
if (!$empty_table) {
- Exclude checks
Variable "item_css_class" is not in valid camel caps format Open
$item_css_class = $item_css_style = $grid_css_class = $grid_css_style = '';
- Exclude checks
Variable "item_css_class" is not in valid camel caps format Open
$item_css_class = $grid_class['item']['class'];
- Exclude checks
Variable "item_css_style" is not in valid camel caps format Open
'style' => $item_css_style,
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
if ($total_number_of_items <= $this->default_items_per_page) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$param[$this->param_prefix.'column'] = $this->column;
- Exclude checks
Variable "showed_items" is not in valid camel caps format Open
return $showed_items[0].' - '.$showed_items[1].' / '.$this->get_total_number_of_items();
- Exclude checks
Variable "td_attributes" is not in valid camel caps format Open
if (!is_null($td_attributes)) {
- Exclude checks
Variable "th_attributes" is not in valid camel caps format Open
if (!is_null($th_attributes)) {
- Exclude checks
Variable "column_filters" is not in valid camel caps format Open
$this->column_filters[$column] = $function;
- Exclude checks
Member variable "get_data_function" is not in valid camel caps format Open
public $get_data_function;
- Exclude checks
Variable "table_name" is not in valid camel caps format Open
$this->table_name = $table_name;
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$this->per_page = Session::read($this->param_prefix.'per_page', $default_items_per_page);
- Exclude checks
Variable "page_nr" is not in valid camel caps format Open
$this->page_nr = isset($_GET[$this->param_prefix.'page_nr'])
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
Session::write($this->param_prefix.'page_nr', $this->page_nr);
- Exclude checks
Variable "default_items_per_page" is not in valid camel caps format Open
$this->default_items_per_page = $default_items_per_page;
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$_GET[$this->param_prefix.'page_nr'] = 1;
- Exclude checks
Variable "icon_attributes" is not in valid camel caps format Open
$icon_attributes = ['style' => 'vertical-align: middle;'];
- Exclude checks
Variable "query_vars" is not in valid camel caps format Open
$query_vars_exclude = array_diff($query_vars, $query_vars_needed);
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
$html .= '<a class="btn btn--action mr-2" href="?'.$params.'&'.$this->param_prefix.'selectall=1" onclick="javascript: setCheckbox(true, \''.$table_id.'\'); return false;">'
- Exclude checks
Missing parameter name Open
* @param array options of visibility
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
if ($per_page > 10) {
- Exclude checks
Variable "grid_css_class" is not in valid camel caps format Open
$item_css_class = $item_css_style = $grid_css_class = $grid_css_style = '';
- Exclude checks
Variable "grid_class" is not in valid camel caps format Open
$grid_css_style = isset($grid_class['main']['style']) ? $grid_class['main']['style'] : null;
- Exclude checks
Variable "pager_links" is not in valid camel caps format Open
$nav .= $pager_links['next'].' '.$pager_links['last'];
- Exclude checks
Variable "odd_even_rows_enabled" is not in valid camel caps format Open
if (true == $this->odd_even_rows_enabled) {
- Exclude checks
Variable "param_string_parts" is not in valid camel caps format Open
$param_string_parts = [];
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
$this->total_number_of_items = call_user_func(
- Exclude checks
Method name "SortableTable::set_other_tables" is not in camel caps format Open
public function set_other_tables($tablenames)
- Exclude checks
Variable "get_data_function" is not in valid camel caps format Open
if (null !== $this->get_data_function) {
- Exclude checks
Variable "get_data_function" is not in valid camel caps format Open
$this->get_data_function,
- Exclude checks
Variable "other_tables" is not in valid camel caps format Open
$this->other_tables = $tablenames;
- Exclude checks
Doc comment for parameter $sort does not match actual variable name $direction Open
* @param bool $sort Whether to sort or not
- Exclude checks
Method name "SortableTable::get_table_data" is not in camel caps format Open
public function get_table_data(
- Exclude checks
Variable "table_data" is not in valid camel caps format Open
$this->table_data = $data;
- Exclude checks
Variable "checkbox_name" is not in valid camel caps format Open
$this->checkbox_name = $checkbox_name;
- Exclude checks
Method name "SortableTable::set_additional_parameters" is not in camel caps format Open
public function set_additional_parameters(array $parameters)
- Exclude checks
Variable "additional_parameters" is not in valid camel caps format Open
$this->additional_parameters = $parameters;
- Exclude checks
Method name "SortableTable::get_total_number_of_items" is not in camel caps format Open
public function get_total_number_of_items()
- Exclude checks
Variable "get_total_number_function" is not in valid camel caps format Open
if (-1 == $this->total_number_of_items && !is_null($this->get_total_number_function)) {
- Exclude checks
Variable "url_params" is not in valid camel caps format Open
$row[$column] = call_user_func($function, $firstParam, $url_params, $row);
- Exclude checks
Variable "url_params" is not in valid camel caps format Open
$url_params = $this->get_sortable_table_param_string().'&'.$this->get_additional_url_paramstring();
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
$this->total_number_of_items = (int) $value;
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
return $this->total_number_of_items;
- Exclude checks
Variable "checkbox_name" is not in valid camel caps format Open
$this->checkbox_name = $checkbox_name;
- Exclude checks
Method name "SortableTable::filter_data" is not in camel caps format Open
public function filter_data($row)
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
if (count($this->form_actions) > 0) {
- Exclude checks
Variable "checkbox_name" is not in valid camel caps format Open
$row[0] = '<div class="checkbox" ><label><input type="checkbox" name="'.$this->checkbox_name.'[]" value="'.$row[0].'"';
- Exclude checks
Doc comment for parameter $direction does not match actual variable name $sort Open
* @param string $direction In which order should the data be sorted (ASC
- Exclude checks
Variable "per_page" is not in valid camel caps format Open
$this->per_page,
- Exclude checks
Variable "column_filters" is not in valid camel caps format Open
foreach ($this->column_filters as $column => &$function) {
- Exclude checks
Variable "param_prefix" is not in valid camel caps format Open
if (isset($_GET[$this->param_prefix.'selectall'])) {
- Exclude checks
Variable "total_number_of_items" is not in valid camel caps format Open
if (-1 == $this->total_number_of_items && !is_null($this->get_total_number_function)) {
- Exclude checks
Variable "get_total_number_function" is not in valid camel caps format Open
$this->get_total_number_function,
- Exclude checks
Variable "form_actions" is not in valid camel caps format Open
$this->form_actions = $actions;
- Exclude checks
The variable $query_vars_needed is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $table_id is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_id is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $table_id is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_id is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_session_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $message_empty is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_name is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $table_id is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars_needed is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $empty_table is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $my_get_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars_exclude is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $empty_table is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_id is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $my_get_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $message_empty is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_name is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_order_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_session_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_order_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_session_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_items_per_page is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $icon_attributes is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $query_vars_needed is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $default_column is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_session_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $get_total_number_function is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $table_name is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_get_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars_needed is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $my_get_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $get_data_function is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $default_items_per_page is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $table_id is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_column is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_items_per_page is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $default_items_per_page is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $my_session_direction is not named in camelCase. Open
public function __construct(
$table_name = 'table',
$get_total_number_function = null,
$get_data_function = null,
$default_column = 1,
- 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 $query_vars_exclude is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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 $empty_table is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $item_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $table_data is not named in camelCase. Open
public function get_table_html()
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $total_number_of_items is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 $total_number_of_items is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 $th_attributes is not named in camelCase. Open
public function set_header(
$column,
$label,
$sortable = true,
$th_attributes = ['class' => 'th-header'],
- 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 $my_get_direction is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $param_string_parts is not named in camelCase. Open
public function get_sortable_table_param_string()
{
$param[$this->param_prefix.'direction'] = $this->direction;
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
$param[$this->param_prefix.'per_page'] = $this->per_page;
- 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 $empty_table is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $sort_data is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $message_empty is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $my_pager is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $per_page is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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_table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $total_number_of_items is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 $td_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $table_id is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $table_data is not named in camelCase. Open
public function get_table_html()
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $td_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $my_get_direction is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $hide_navigation is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $pager_links is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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 $table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $showed_items is not named in camelCase. Open
public function get_table_title()
{
$pager = $this->get_pager();
$showed_items = $pager->getOffsetByPageId();
- 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 $empty_table is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $visibility_options is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $item_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $pager_links is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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_table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $th_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $th_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $my_get_direction is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $message_empty is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $item_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $url_params is not named in camelCase. Open
public function filter_data($row)
{
$url_params = $this->get_sortable_table_param_string().'&'.$this->get_additional_url_paramstring();
foreach ($this->column_filters as $column => &$function) {
$firstParam = isset($row[$column]) ? $row[$column] : 0;
- 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 $empty_table is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $table_id is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 $visibility_options is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $table_data is not named in camelCase. Open
public function get_table_html()
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $url_params is not named in camelCase. Open
public function filter_data($row)
{
$url_params = $this->get_sortable_table_param_string().'&'.$this->get_additional_url_paramstring();
foreach ($this->column_filters as $column => &$function) {
$firstParam = isset($row[$column]) ? $row[$column] : 0;
- 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 $message_empty is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $empty_table is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $param_string_parts is not named in camelCase. Open
public function get_sortable_table_param_string()
{
$param[$this->param_prefix.'direction'] = $this->direction;
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
$param[$this->param_prefix.'per_page'] = $this->per_page;
- 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 $empty_table is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $hide_navigation is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $pager_links is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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 $pager_links is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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 $table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $per_page is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $item_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $total_number_of_items is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 $td_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $grid_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $th_attributes is not named in camelCase. Open
public function processHeaders()
{
$counter = 0;
foreach ($this->headers as $column => $columnInfo) {
$label = $columnInfo['label'];
- 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 $checkbox_name is not named in camelCase. Open
public function set_form_actions($actions, $checkbox_name = 'id')
{
$this->form_actions = $actions;
$this->checkbox_name = $checkbox_name;
}
- 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 $grid_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $td_attributes is not named in camelCase. Open
public function set_header(
$column,
$label,
$sortable = true,
$th_attributes = ['class' => 'th-header'],
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $empty_table is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $visibility_options is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $grid_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $item_css_style is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $visibility_options is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $pager_links is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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 $showed_items is not named in camelCase. Open
public function get_table_title()
{
$pager = $this->get_pager();
$showed_items = $pager->getOffsetByPageId();
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $param_string_parts is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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 $my_pager is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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 $message_empty is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 $item_css_class is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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_table_data is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 $total_number_of_items is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 $showed_items is not named in camelCase. Open
public function get_table_title()
{
$pager = $this->get_pager();
$showed_items = $pager->getOffsetByPageId();
- 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 $param_string_parts is not named in camelCase. Open
public function get_sortable_table_param_string()
{
$param[$this->param_prefix.'direction'] = $this->direction;
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
$param[$this->param_prefix.'per_page'] = $this->per_page;
- 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_pager is not named in camelCase. Open
public function get_pager()
{
if (null === $this->pager) {
$params['mode'] = 'Sliding';
$params['perPage'] = $this->per_page;
- 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_clean_html is not named in camelCase. Open
public function get_clean_html($sort = true)
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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_page_select_form is not named in camelCase. Open
public function get_page_select_form(): string
{
$total_number_of_items = $this->get_total_number_of_items();
if ($total_number_of_items <= $this->default_items_per_page) {
return '';
- 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 = null,
$perPage = null,
$column = null,
$direction = null,
- 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 display_grid is not named in camelCase. Open
public function display_grid()
{
$empty_table = false;
if (0 == $this->get_total_number_of_items()) {
$message_empty = api_xml_http_response_encode(get_lang('Empty'));
- 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_html is not named in camelCase. Open
public function get_table_html()
{
$pager = $this->get_pager();
$offset = $pager->getOffsetByPageId();
$from = $offset[0] - 1;
- 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 set_additional_parameters is not named in camelCase. Open
public function set_additional_parameters(array $parameters)
{
$this->additional_parameters = $parameters;
}
- 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 set_column_filter is not named in camelCase. Open
public function set_column_filter($column, $function)
{
$this->column_filters[$column] = $function;
}
- 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 filter_data is not named in camelCase. Open
public function filter_data($row)
{
$url_params = $this->get_sortable_table_param_string().'&'.$this->get_additional_url_paramstring();
foreach ($this->column_filters as $column => &$function) {
$firstParam = isset($row[$column]) ? $row[$column] : 0;
- 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_sortable_table_param_string is not named in camelCase. Open
public function get_sortable_table_param_string()
{
$param[$this->param_prefix.'direction'] = $this->direction;
$param[$this->param_prefix.'page_nr'] = $this->page_nr;
$param[$this->param_prefix.'per_page'] = $this->per_page;
- 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_total_number_of_items is not named in camelCase. Open
public function get_total_number_of_items()
{
if (-1 == $this->total_number_of_items && !is_null($this->get_total_number_function)) {
$this->total_number_of_items = call_user_func(
$this->get_total_number_function,
- 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 return_table is not named in camelCase. Open
public function return_table()
{
$empty_table = false;
$content = $this->get_table_html();
if (0 == $this->get_total_number_of_items()) {
- 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 set_other_tables is not named in camelCase. Open
public function set_other_tables($tablenames)
{
$this->other_tables = $tablenames;
}
- 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_navigation_html is not named in camelCase. Open
public function get_navigation_html()
{
$pager = $this->get_pager();
$pager_links = $pager->getLinks();
$nav = $pager_links['first'].' '.$pager_links['back'];
- 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_additional_url_paramstring is not named in camelCase. Open
public function get_additional_url_paramstring()
{
$param_string_parts = [];
if (is_array($this->additional_parameters) && count($this->additional_parameters) > 0) {
foreach ($this->additional_parameters as $key => $value) {
- 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_title is not named in camelCase. Open
public function get_table_title()
{
$pager = $this->get_pager();
$showed_items = $pager->getOffsetByPageId();
- 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 display_simple_grid is not named in camelCase. Open
public function display_simple_grid(
$visibility_options,
$hide_navigation = true,
$per_page = 20,
$sort_data = true,
- 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 set_header is not named in camelCase. Open
public function set_header(
$column,
$label,
$sortable = true,
$th_attributes = ['class' => 'th-header'],
- 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 set_form_actions is not named in camelCase. Open
public function set_form_actions($actions, $checkbox_name = 'id')
{
$this->form_actions = $actions;
$this->checkbox_name = $checkbox_name;
}
- 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() {
}
}