The method store_dashboard_plugins() has an NPath complexity of 1621. The configured NPath complexity threshold is 200. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 0;
- 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
Remove error control operator '@' on line 268. Open
public static function getPossibleDashboardPluginsPath()
{
// get all plugins path inside plugin directory
/* We scan the plugin directory. Each folder is a potential plugin. */
$possiblePlugins = [];
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
Remove error control operator '@' on line 274. Open
public static function getPossibleDashboardPluginsPath()
{
// get all plugins path inside plugin directory
/* We scan the plugin directory. Each folder is a potential plugin. */
$possiblePlugins = [];
- Read upRead up
- Exclude checks
ErrorControlOperator
Error suppression should be avoided if possible as it doesn't just suppress the error, that you are trying to stop, but will also suppress errors that you didn't predict would ever occur. Consider changing error_reporting() level and/or setting up your own error handler.
Example
function foo($filePath) {
$file = @fopen($filPath); // hides exceptions
$key = @$array[$notExistingKey]; // assigns null to $key
}
Source http://phpmd.org/rules/cleancode.html#errorcontroloperator
The method handle_dashboard_plugins uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
echo '<td></td>';
}
- 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 store_dashboard_plugins uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
// insert
$plugin_info_file = $dashboard_pluginpath.$testplugin."/$testplugin.info";
$plugin_info = [];
if (file_exists($plugin_info_file)) {
- 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 handle_dashboard_plugins uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
if ('css' != $testplugin) {
echo Display::tag(
'tr',
Display::tag(
- 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 handle_dashboard_plugins uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
echo '<td>';
echo '<font color="#aaa">'.$disabled_block[$key].'</font>';
echo '</td>';
}
- 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 handle_dashboard_plugins uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
echo '<td> </td>';
}
- 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_block_data_without_plugin uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$active = 1;
}
- Read upRead up
- Exclude checks
ElseExpression
Since: 1.4.0
An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.
Example
class Foo
{
public function bar($flag)
{
if ($flag) {
// one branch
} else {
// another branch
}
}
}
Source https://phpmd.org/rules/cleancode.html#elseexpression
The method display_user_dashboard_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$html .= Display::tag('tr', Display::tag('td', get_lang('Error').' '.$controller_class, ['colspan' => '3']));
}
- 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_user_dashboard_list uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$html .= '<div style="margin-top:20px">'.get_lang('ThereAreNoEnabledDashboard plugins').'</div>';
if (api_is_platform_admin()) {
$html .= '<a class="btn btn--plain" href="'.api_get_path(WEB_CODE_PATH).'admin/settings.php?category=Plugins">'.
get_lang('Configure Dashboard Plugin').'</a>';
- 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 '$user_data'. Open
foreach ($extra_user_data as $key => $user_data) {
- 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 using count() function in for loops. Open
for ($j = 0; $j < count($table_cols); $j++) {
$key = $table_cols[$j];
if (isset($disabled_block[$key])) {
if (2 == $j) {
echo '<td>';
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
Avoid using count() function in for loops. Open
for ($i = 0; $i < count($table_cols); $i++) {
$key = $table_cols[$i];
if (isset($plugin_info[$key])) {
echo '<td>';
echo $plugin_info[$key];
- Read upRead up
- Exclude checks
CountInLoopExpression
Since: 2.7.0
Using count/sizeof in loops expressions is considered bad practice and is a potential source of many bugs, especially when the loop manipulates an array, as count happens on each iteration.
Example
class Foo {
public function bar()
{
$array = array();
for ($i = 0; count($array); $i++) {
// ...
}
}
}
Source https://phpmd.org/rules/design.html#countinloopexpression
The parameter $plugin_path is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- 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 $plugin_paths is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 0;
- 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 $user_id is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- 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 $block_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- 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 $user_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- 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 $user_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- 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 $enabled_blocks is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- 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 $user_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- 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 $user_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- 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
Method name "DashboardManager::handle_dashboard_plugins" is not in camel caps format Open
public static function handle_dashboard_plugins()
- Exclude checks
Variable "disabled_block" is not in valid camel caps format Open
foreach ($disabled_blocks_data as $disabled_block) {
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = api_parse_info_file($plugin_info_file);
- Exclude checks
Variable "plugin_name" is not in valid camel caps format Open
VALUES ('$plugin_name', '$plugin_description', '$plugin_path', '$plugin_controller', 1)";
- Exclude checks
Variable "plugin_controller" is not in valid camel caps format Open
VALUES ('$plugin_name', '$plugin_description', '$plugin_path', '$plugin_controller', 1)";
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = array_change_key_case($plugin_info);
- Exclude checks
Variable "plugin_description" is not in valid camel caps format Open
$plugin_description = '';
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
if (isset($plugin_info['name'])) {
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
if (isset($plugin_info[$key])) {
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "plugin_path" is not in valid camel caps format Open
VALUES ('$plugin_name', '$plugin_description', '$plugin_path', '$plugin_controller', 1)";
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = array_change_key_case($plugin_info);
- Exclude checks
Variable "disabled_blocks_data" is not in valid camel caps format Open
if (count($disabled_blocks_data) > 0) {
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_block
- Exclude checks
Method name "DashboardManager::store_dashboard_plugins" is not in camel caps format Open
public static function store_dashboard_plugins($plugin_paths)
- Exclude checks
Variable "plugin_paths" is not in valid camel caps format Open
public static function store_dashboard_plugins($plugin_paths)
- Exclude checks
Variable "plugin_paths" is not in valid camel caps format Open
$not_selected_plugins = array_diff($possiblePlugins, array_keys($plugin_paths));
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
$not_selected_blocks_id[] = $block_data[$plugin]['id'];
- Exclude checks
Variable "rs_check" is not in valid camel caps format Open
if (Database::num_rows($rs_check) > 0) {
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$dashboard_pluginpath = api_get_path(SYS_PLUGIN_PATH).'dashboard/';
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
if (file_exists($plugin_info_file) && is_readable($plugin_info_file)) {
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = api_parse_info_file($plugin_info_file);
- Exclude checks
Variable "disabled_blocks_data" is not in valid camel caps format Open
foreach ($disabled_blocks_data as $disabled_block) {
- Exclude checks
Variable "plugin_paths" is not in valid camel caps format Open
$selected_plugins = array_intersect(array_keys($plugin_paths), $possiblePlugins);
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
if (!empty($block_data[$plugin])) {
- Exclude checks
Variable "user_block_id" is not in valid camel caps format Open
foreach ($user_block_id as $block_id) {
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
unset($user_block_data[$block_id]);
- Exclude checks
Variable "selected_path" is not in valid camel caps format Open
$selected_path = Database::escape_string($testplugin);
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = [];
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
if (file_exists($plugin_info_file) && is_readable($plugin_info_file)) {
- Exclude checks
Variable "disabled_block" is not in valid camel caps format Open
echo '<font color="#aaa">'.$disabled_block[$key].'</font>';
- Exclude checks
Variable "selected_plugins" is not in valid camel caps format Open
$selected_plugins = array_intersect(array_keys($plugin_paths), $possiblePlugins);
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
$extra_user_data = UserManager::get_extra_user_data_by_field_variable($field_variable);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
unset($user_block_data[$block_id]);
- Exclude checks
Variable "sql_check" is not in valid camel caps format Open
$sql_check = "SELECT id FROM $tbl_block
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = array_change_key_case($plugin_info);
- Exclude checks
Variable "plugin_name" is not in valid camel caps format Open
$plugin_name = $testplugin;
- Exclude checks
Variable "rs_block" is not in valid camel caps format Open
$rs_block = Database::query($sql);
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
$plugin_info = api_parse_info_file($plugin_info_file);
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
echo $plugin_info[$key];
- Exclude checks
Variable "table_cols" is not in valid camel caps format Open
$key = $table_cols[$j];
- Exclude checks
Variable "disabled_block" is not in valid camel caps format Open
if (isset($disabled_block[$key])) {
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
$not_selected_blocks_id = [];
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
$user_blocks_id[$data['block_id']] = true;
- Exclude checks
Variable "affected_rows" is not in valid camel caps format Open
$affected_rows = Database::affected_rows($result);
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
$plugin_info_file = $dashboard_pluginpath.$testplugin."/$testplugin.info";
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
if (file_exists($plugin_info_file)) {
- Exclude checks
Variable "plugin_controller" is not in valid camel caps format Open
$plugin_controller = '';
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
if (isset($plugin_info['description'])) {
- Exclude checks
Variable "plugin_description" is not in valid camel caps format Open
$plugin_description = Database::escape_string($plugin_info['description']);
- Exclude checks
Variable "condition_path" is not in valid camel caps format Open
$condition_path = '';
- Exclude checks
Method name "DashboardManager::display_dashboard_plugin_checkboxes" is not in camel caps format Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$not_selected_blocks_id[] = $block_data[$plugin]['id'];
- Exclude checks
Variable "user_data" is not in valid camel caps format Open
foreach ($extra_user_data as $key => $user_data) {
- Exclude checks
Variable "selected_plugins" is not in valid camel caps format Open
foreach ($selected_plugins as $testplugin) {
- Exclude checks
Variable "row_block" is not in valid camel caps format Open
if (!isset($row_block['name'])) {
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$plugin_info_file = $dashboard_pluginpath.$testplugin."/$testplugin.info";
- Exclude checks
Variable "table_cols" is not in valid camel caps format Open
for ($j = 0; $j < count($table_cols); $j++) {
- Exclude checks
Variable "disabled_block" is not in valid camel caps format Open
echo '<font color="#aaa">'.$disabled_block[$key].'</font><br />';
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$block_data = self::get_enabled_dashboard_blocks($plugin);
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
if (!empty($extra_user_data) && count($extra_user_data) > 0) {
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
foreach ($extra_user_data as $key => $user_data) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
self::store_user_blocks($user_id, $user_blocks_id, $columns);
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
if (!empty($not_selected_blocks_id)) {
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql_check = "SELECT id FROM $tbl_block
- Exclude checks
Variable "plugin_description" is not in valid camel caps format Open
VALUES ('$plugin_name', '$plugin_description', '$plugin_path', '$plugin_controller', 1)";
- Exclude checks
Variable "affected_rows" is not in valid camel caps format Open
$affected_rows = Database::affected_rows($result);
- Exclude checks
Variable "enabled_block" is not in valid camel caps format Open
unset($user_block_data[$enabled_block['id']]);
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$dashboard_pluginpath = api_get_path(SYS_PLUGIN_PATH).'dashboard/';
- Exclude checks
Variable "disabled_blocks_data" is not in valid camel caps format Open
$disabled_blocks_data = self::get_block_data_without_plugin();
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$user_block_id = array_keys($user_block_data);
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
if (in_array($block_id, $not_selected_blocks_id)) {
- Exclude checks
Variable "table_cols" is not in valid camel caps format Open
$table_cols = ['name', 'version', 'description'];
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql = "SELECT path FROM $tbl_block WHERE path = '$selected_path'";
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
$plugin_info_file = $dashboard_pluginpath.$testplugin."/$testplugin.info";
- Exclude checks
Variable "plugin_path" is not in valid camel caps format Open
$plugin_path = $testplugin;
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
if ('.' != $file && '..' != $file && is_dir($dashboard_pluginpath.$file)) {
- Exclude checks
Variable "table_cols" is not in valid camel caps format Open
$key = $table_cols[$i];
- Exclude checks
Variable "not_selected_plugins" is not in valid camel caps format Open
foreach ($not_selected_plugins as $plugin) {
- Exclude checks
Variable "rs_check" is not in valid camel caps format Open
$rs_check = Database::query($sql_check);
- Exclude checks
Variable "selected_path" is not in valid camel caps format Open
$sql = "SELECT path FROM $tbl_block WHERE path = '$selected_path'";
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
if (isset($plugin_info['controller'])) {
- Exclude checks
Variable "plugin_controller" is not in valid camel caps format Open
$plugin_controller = Database::escape_string($plugin_info['controller']);
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_controller = Database::escape_string($plugin_info['controller']);
- Exclude checks
Variable "enabled_dashboard_plugins" is not in valid camel caps format Open
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
- Exclude checks
Variable "user_block_id" is not in valid camel caps format Open
$user_block_id = array_keys($user_block_data);
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
$user_blocks_id = [];
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$del = "DELETE FROM $tbl_block WHERE id IN(".implode(',', $not_selected_blocks_id).")";
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
$del = "DELETE FROM $tbl_block WHERE id IN(".implode(',', $not_selected_blocks_id).")";
- Exclude checks
Variable "affected_rows" is not in valid camel caps format Open
return $affected_rows;
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$upd = "UPDATE $tbl_block SET active = '$active'
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_info = array_change_key_case($plugin_info);
- Exclude checks
Variable "table_cols" is not in valid camel caps format Open
for ($i = 0; $i < count($table_cols); $i++) {
- Exclude checks
Variable "affected_rows" is not in valid camel caps format Open
$affected_rows = 0;
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
if (in_array($block_id, $not_selected_blocks_id)) {
- Exclude checks
Variable "selected_plugins" is not in valid camel caps format Open
if (!empty($selected_plugins) && count($selected_plugins) > 0) {
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$upd = "UPDATE $tbl_block SET active = 1 WHERE path = '$selected_path'";
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$plugin_info_file = $dashboard_pluginpath.$testplugin."/$testplugin.info";
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_description = Database::escape_string($plugin_info['description']);
- Exclude checks
Method name "DashboardManager::get_block_data_without_plugin" is not in camel caps format Open
public static function get_block_data_without_plugin()
- Exclude checks
Variable "plugin_path" is not in valid camel caps format Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
- Exclude checks
Variable "plugin_path" is not in valid camel caps format Open
WHERE path = '".Database::escape_string($plugin_path)."' AND active = 1";
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$dashboard_pluginpath = api_get_path(SYS_PLUGIN_PATH).'dashboard/';
- Exclude checks
Variable "not_selected_plugins" is not in valid camel caps format Open
$not_selected_plugins = array_diff($possiblePlugins, array_keys($plugin_paths));
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
$extra_user_data = UserManager::get_extra_user_data_by_field_variable($field_variable);
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
foreach ($user_block_id as $block_id) {
- Exclude checks
Variable "sql_check" is not in valid camel caps format Open
$rs_check = Database::query($sql_check);
- Exclude checks
Variable "selected_plugins" is not in valid camel caps format Open
if (!empty($selected_plugins) && count($selected_plugins) > 0) {
- Exclude checks
Variable "selected_path" is not in valid camel caps format Open
$upd = "UPDATE $tbl_block SET active = 1 WHERE path = '$selected_path'";
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$block_data = [];
- Exclude checks
Variable "plugin_path" is not in valid camel caps format Open
echo '<input type="checkbox" name="'.$plugin_path.'" value="true" '.$checked.'/>';
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
$field_variable = 'dashboard';
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
if (!empty($extra_user_data) && count($extra_user_data) > 0) {
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
foreach ($user_block_data as $data) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
self::store_user_blocks($user_id, $user_blocks_id, $columns);
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
$plugin_info = api_parse_info_file($plugin_info_file);
- Exclude checks
Variable "plugin_name" is not in valid camel caps format Open
$plugin_name = Database::escape_string($plugin_info['name']);
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$ins = "INSERT INTO $tbl_block(title, description, path, controller, active)
- Exclude checks
Variable "row_block" is not in valid camel caps format Open
$row_block['name'] = $row_block['title'];
- Exclude checks
Variable "plugin_info_file" is not in valid camel caps format Open
get_lang('Check file permissions').' '.Security::remove_XSS($plugin_info_file),
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = $key;
- Exclude checks
Variable "not_selected_blocks_id" is not in valid camel caps format Open
WHERE id IN(".implode(',', $not_selected_blocks_id).")";
- Exclude checks
Variable "plugin_info" is not in valid camel caps format Open
$plugin_name = Database::escape_string($plugin_info['name']);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
<option value="1" '.(isset($user_block_data[$block['id']]) && 1 == $user_block_data[$block['id']]['column'] ? 'selected' : '').' >1</option>
- Exclude checks
Variable "dashboard_pluginpath" is not in valid camel caps format Open
$handle = @opendir($dashboard_pluginpath);
- Exclude checks
Method name "DashboardManager::get_enabled_dashboard_blocks" is not in camel caps format Open
public static function get_enabled_dashboard_blocks($path = '')
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function display_user_dashboard_list($user_id)
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
- Exclude checks
Variable "enabled_blocks" is not in valid camel caps format Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
- Exclude checks
Variable "enabled_blocks" is not in valid camel caps format Open
$selected_blocks_id = array_keys($enabled_blocks);
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
if (!isset($extra_user_data[$field_variable])) {
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$data[$block_id] = ['block_id' => $block_id, 'column' => $column];
- Exclude checks
Missing parameter name Open
* @param string plugin path
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function close_user_block($user_id, $path)
- Exclude checks
Variable "row_block" is not in valid camel caps format Open
while ($row_block = Database::fetch_array($rs_block)) {
- Exclude checks
Variable "rs_block" is not in valid camel caps format Open
while ($row_block = Database::fetch_array($rs_block)) {
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$data[$block_id] = ['block_id' => $block_id, 'column' => $column];
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_block";
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$block_data = [];
- Exclude checks
Variable "row_block" is not in valid camel caps format Open
$row_block['name'] = $row_block['title'];
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
- Exclude checks
Variable "enabled_dashboard_plugins" is not in valid camel caps format Open
if (count($enabled_dashboard_plugins) > 0) {
- Exclude checks
Variable "controller_class" is not in valid camel caps format Open
$html .= Display::tag('tr', Display::tag('td', get_lang('Error').' '.$controller_class, ['colspan' => '3']));
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = intval($user_id);
- Exclude checks
Variable "enabled_blocks" is not in valid camel caps format Open
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
- Exclude checks
Missing parameter name Open
* @param int User id
- Exclude checks
Variable "upd_extra_field" is not in valid camel caps format Open
$upd_extra_field = UserManager::update_extra_field_value(
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
$extra_user_data = explode(';', $extra_user_data[$field_variable]);
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
$extra_user_data = explode(';', $extra_user_data[$field_variable]);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
unset($user_block_data[$enabled_block['id']]);
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
$user_blocks_id = [];
- Exclude checks
Variable "row_block" is not in valid camel caps format Open
$block_data[] = $row_block;
- Exclude checks
Variable "condition_path" is not in valid camel caps format Open
$condition_path = ' AND path = "'.$path.'" ';
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
return $block_data;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$obj_block = new $controller_class($user_id);
- Exclude checks
Variable "obj_block" is not in valid camel caps format Open
$is_block_visible_for_user = $obj_block->is_block_visible_for_user($user_id);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
<option value="2" '.(isset($user_block_data[$block['id']]) && 2 == $user_block_data[$block['id']]['column'] ? 'selected' : '').' >2</option>
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = intval($user_id);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = intval($user_id);
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
$field_variable = 'dashboard';
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$block_id = $split_extra[0];
- Exclude checks
Variable "split_extra" is not in valid camel caps format Open
$column = isset($split_extra[1]) ? $split_extra[1] : null;
- Exclude checks
Variable "is_block_visible_for_user" is not in valid camel caps format Open
$is_block_visible_for_user = $obj_block->is_block_visible_for_user($user_id);
- Exclude checks
Variable "enabled_blocks_id" is not in valid camel caps format Open
if (in_array($block_id, $enabled_blocks_id)) {
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$html .= '<input type="checkbox" name="enabled_blocks['.$block_id.']" value="true" '.$checked.'/>';
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Exclude checks
Variable "split_extra" is not in valid camel caps format Open
$block_id = $split_extra[0];
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
foreach ($user_block_data as $data) {
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$block_data[] = $row_block;
- Exclude checks
Method name "DashboardManager::display_user_dashboard_list" is not in camel caps format Open
public static function display_user_dashboard_list($user_id)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$is_block_visible_for_user = $obj_block->is_block_visible_for_user($user_id);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
$enabled_blocks_id = array_keys($user_block_data);
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
if (in_array($block_id, $enabled_blocks_id)) {
- Exclude checks
Method name "DashboardManager::store_user_blocks" is not in camel caps format Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Exclude checks
Variable "split_extra" is not in valid camel caps format Open
$column = isset($split_extra[1]) ? $split_extra[1] : null;
- Exclude checks
Variable "enabled_dashboard_blocks" is not in valid camel caps format Open
foreach ($enabled_dashboard_blocks as $enabled_block) {
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$upd_extra_field = self::store_user_blocks($user_id, $user_blocks_id, $columns);
- Exclude checks
Variable "enabled_dashboard_plugins" is not in valid camel caps format Open
foreach ($enabled_dashboard_plugins as $block) {
- Exclude checks
Variable "dashboard_plugin_path" is not in valid camel caps format Open
$dashboard_plugin_path = api_get_path(SYS_PLUGIN_PATH).'dashboard/'.$path.'/';
- Exclude checks
Variable "filename_controller" is not in valid camel caps format Open
require_once $dashboard_plugin_path.$filename_controller;
- Exclude checks
Variable "obj_block" is not in valid camel caps format Open
$obj_block = new $controller_class($user_id);
- Exclude checks
Variable "controller_class" is not in valid camel caps format Open
$obj_block = new $controller_class($user_id);
- Exclude checks
Method name "DashboardManager::display_user_dashboard_list_checkboxes" is not in camel caps format Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "selected_blocks_id" is not in valid camel caps format Open
$selected_blocks_id = [];
- Exclude checks
Variable "enabled_blocks" is not in valid camel caps format Open
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
- Exclude checks
Variable "selected_blocks_id" is not in valid camel caps format Open
$selected_blocks_id = array_keys($enabled_blocks);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function get_user_block_data($user_id)
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_block WHERE active = 1 $condition_path ";
- Exclude checks
Variable "condition_path" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_block WHERE active = 1 $condition_path ";
- Exclude checks
Variable "controller_class" is not in valid camel caps format Open
$controller_class = $block['controller'];
- Exclude checks
Variable "dashboard_plugin_path" is not in valid camel caps format Open
require_once $dashboard_plugin_path.$filename_controller;
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id = intval($user_id);
- Exclude checks
Variable "enabled_dashboard_blocks" is not in valid camel caps format Open
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
- Exclude checks
Variable "enabled_block" is not in valid camel caps format Open
foreach ($enabled_dashboard_blocks as $enabled_block) {
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
- Exclude checks
Variable "tbl_block" is not in valid camel caps format Open
$sql = "SELECT * FROM $tbl_block WHERE active = 0";
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
return $block_data;
- Exclude checks
Variable "block_data" is not in valid camel caps format Open
$block_data[$row['path']] = $row;
- Exclude checks
Variable "selected_blocks_id" is not in valid camel caps format Open
foreach ($selected_blocks_id as $block_id) {
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$fvalue[] = $block_id.':'.$columns[$block_id];
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_id,
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Exclude checks
Variable "rs_block" is not in valid camel caps format Open
if (Database::num_rows($rs_block) > 0) {
- Exclude checks
Variable "obj_block" is not in valid camel caps format Open
if (method_exists($obj_block, 'is_block_visible_for_user')) {
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
<option value="2" '.(isset($user_block_data[$block['id']]) && 2 == $user_block_data[$block['id']]['column'] ? 'selected' : '').' >2</option>
- Exclude checks
Missing parameter name Open
* @param int Block id
- Exclude checks
Variable "upd_extra_field" is not in valid camel caps format Open
return $upd_extra_field;
- Exclude checks
Variable "split_extra" is not in valid camel caps format Open
if (!empty($split_extra)) {
- Exclude checks
Variable "upd_extra_field" is not in valid camel caps format Open
$upd_extra_field = self::store_user_blocks($user_id, $user_blocks_id, $columns);
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
$fvalue[] = $block_id.':'.$columns[$block_id];
- Exclude checks
Missing parameter name Open
* @param int User id
- Exclude checks
Variable "split_extra" is not in valid camel caps format Open
$split_extra = explode(':', $extra);
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
$user_blocks_id[$data['block_id']] = true;
- Exclude checks
Variable "upd_extra_field" is not in valid camel caps format Open
return $upd_extra_field;
- Exclude checks
Missing parameter name Open
* @param int User id
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$user_block_data = self::get_user_block_data($user_id);
- Exclude checks
Variable "controller_class" is not in valid camel caps format Open
if (class_exists($controller_class)) {
- Exclude checks
Variable "is_block_visible_for_user" is not in valid camel caps format Open
if (!$is_block_visible_for_user) {
- Exclude checks
Variable "enabled_blocks_id" is not in valid camel caps format Open
$enabled_blocks_id = array_keys($user_block_data);
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
- Exclude checks
Variable "block_id" is not in valid camel caps format Open
foreach ($selected_blocks_id as $block_id) {
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
if (!isset($extra_user_data[$field_variable])) {
- Exclude checks
Variable "user_blocks_id" is not in valid camel caps format Open
$upd_extra_field = self::store_user_blocks($user_id, $user_blocks_id, $columns);
- Exclude checks
Method name "DashboardManager::get_user_block_data" is not in camel caps format Open
public static function get_user_block_data($user_id)
- Exclude checks
Expected 19 spaces after parameter type; 1 found Open
* @param int $user_id User id
- Exclude checks
Method name "DashboardManager::close_user_block" is not in camel caps format Open
public static function close_user_block($user_id, $path)
- Exclude checks
Variable "filename_controller" is not in valid camel caps format Open
$filename_controller = $path.'.class.php';
- Exclude checks
Variable "user_id" is not in valid camel caps format Open
$html .= self::display_user_dashboard_list_checkboxes($user_id, $block['id']);
- Exclude checks
Variable "user_block_data" is not in valid camel caps format Open
<option value="1" '.(isset($user_block_data[$block['id']]) && 1 == $user_block_data[$block['id']]['column'] ? 'selected' : '').' >1</option>
- Exclude checks
Variable "field_variable" is not in valid camel caps format Open
$extra_user_data = explode(';', $extra_user_data[$field_variable]);
- Exclude checks
Variable "extra_user_data" is not in valid camel caps format Open
foreach ($extra_user_data as $extra) {
- Exclude checks
The variable $plugin_info is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info_file is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info_file is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info_file is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_blocks_data is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_block is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_path is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_paths is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $extra_user_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $sql_check is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_path is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $rs_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dashboard_plugin_path is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $controller_class is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_paths is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $extra_user_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_path is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_name is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $row_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $selected_path is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_id is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $filename_controller is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $obj_block is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_block is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_path is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $sql_check is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_name is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $row_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dashboard_plugin_path is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_blocks_data is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info_file is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dashboard_pluginpath is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info_file is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_cols is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_cols is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info_file is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $condition_path is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $obj_block is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dashboard_pluginpath is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_cols is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $affected_rows is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $rs_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $rs_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $plugin_info is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_block is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_controller is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_data is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_cols is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_block is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_controller is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_path is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $condition_path is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $controller_class is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_blocks is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is 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_cols is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $disabled_blocks_data is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_description is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_id is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_extra is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $extra_user_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_block_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $rs_check is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $dashboard_pluginpath is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info_file is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_path is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $dashboard_pluginpath is not named in camelCase. Open
public static function getPossibleDashboardPluginsPath()
{
// get all plugins path inside plugin directory
/* We scan the plugin directory. Each folder is a potential plugin. */
$possiblePlugins = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_blocks is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_name is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $controller_class is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_dashboard_blocks is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $rs_check is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info_file is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $affected_rows is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $condition_path is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_data is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $controller_class is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $filename_controller is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_extra is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_extra is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upd_extra_field is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $row_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_dashboard_plugins is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $obj_block is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_extra is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $affected_rows is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $not_selected_blocks_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_description is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_info is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_description is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $block_data is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_dashboard_plugins is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_blocks_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $selected_blocks_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_blocks_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upd_extra_field is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upd_extra_field is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_id is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $plugin_controller is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $dashboard_pluginpath is not named in camelCase. Open
public static function getPossibleDashboardPluginsPath()
{
// get all plugins path inside plugin directory
/* We scan the plugin directory. Each folder is a potential plugin. */
$possiblePlugins = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $row_block is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $tbl_block is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_block_visible_for_user is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $selected_blocks_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_dashboard_blocks is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_blocks_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $dashboard_pluginpath is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $not_selected_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $user_block_data is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $tbl_block is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $affected_rows is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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 $dashboard_pluginpath is not named in camelCase. Open
public static function getPossibleDashboardPluginsPath()
{
// get all plugins path inside plugin directory
/* We scan the plugin directory. Each folder is a potential plugin. */
$possiblePlugins = [];
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_dashboard_plugins is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $is_block_visible_for_user is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $upd_extra_field is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_blocks_id is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_block is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_blocks_id is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $selected_blocks_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $split_extra is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_block is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $block_id is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $extra_user_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $field_variable is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $enabled_blocks is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $user_block_data is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It 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_enabled_dashboard_blocks is not named in camelCase. Open
public static function get_enabled_dashboard_blocks($path = '')
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$condition_path = '';
if (!empty($path)) {
- 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_user_dashboard_list is not named in camelCase. Open
public static function display_user_dashboard_list($user_id)
{
$enabled_dashboard_plugins = self::get_enabled_dashboard_blocks();
$user_block_data = self::get_user_block_data($user_id);
$html = '';
- 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 handle_dashboard_plugins is not named in camelCase. Open
public static function handle_dashboard_plugins()
{
$token = Security::get_existing_token();
$tokenCondition = '&sec_token='.$token;
- 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_block_data_without_plugin is not named in camelCase. Open
public static function get_block_data_without_plugin()
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$possiblePlugins = self::getPossibleDashboardPluginsPath();
- 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_dashboard_plugin_checkboxes is not named in camelCase. Open
public static function display_dashboard_plugin_checkboxes($plugin_path)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$sql = "SELECT * FROM $tbl_block
- 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 store_user_blocks is not named in camelCase. Open
public static function store_user_blocks($user_id, $enabled_blocks, $columns)
{
$selected_blocks_id = [];
if (is_array($enabled_blocks) && count($enabled_blocks) > 0) {
$selected_blocks_id = array_keys($enabled_blocks);
- 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 store_dashboard_plugins is not named in camelCase. Open
public static function store_dashboard_plugins($plugin_paths)
{
$tbl_block = Database::get_main_table(TABLE_MAIN_BLOCK);
$affected_rows = 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_user_block_data is not named in camelCase. Open
public static function get_user_block_data($user_id)
{
$user_id = intval($user_id);
$field_variable = 'dashboard';
$extra_user_data = UserManager::get_extra_user_data_by_field($user_id, $field_variable);
- 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_user_dashboard_list_checkboxes is not named in camelCase. Open
public static function display_user_dashboard_list_checkboxes($user_id, $block_id)
{
$user_id = intval($user_id);
$user_block_data = self::get_user_block_data($user_id);
$enabled_blocks_id = array_keys($user_block_data);
- 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 close_user_block is not named in camelCase. Open
public static function close_user_block($user_id, $path)
{
$enabled_dashboard_blocks = self::get_enabled_dashboard_blocks($path);
$user_block_data = self::get_user_block_data($user_id);
- 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() {
}
}