edit_mimetypes accesses the super-global variable $_REQUEST. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
edit_mimetypes_modules accesses the super-global variable $_REQUEST. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
edit_mimetypes_modules accesses the super-global variable $_REQUEST. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
edit_mimetypes accesses the super-global variable $_REQUEST. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
- Read upRead up
- Exclude checks
Superglobals
Since: 0.2
Accessing a super-global variable directly is considered a bad practice. These variables should be encapsulated in objects that are provided by a framework, for instance.
Example
class Foo {
public function bar() {
$name = $_POST['foo'];
}
}
Source
Function install_MimeTypes
has a Cognitive Complexity of 39 (exceeds 5 allowed). Consider refactoring. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
File mimetypes.php
has 400 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
declare(strict_types=1);
/**
Method list_mimetypes_perms
has 99 lines of code (exceeds 25 allowed). Consider refactoring. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
Method list_mimetypes
has 83 lines of code (exceeds 25 allowed). Consider refactoring. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
Function uninstall_MimeTypes
has a Cognitive Complexity of 19 (exceeds 5 allowed). Consider refactoring. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method install_MimeTypes
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
Function list_mimetypes
has a Cognitive Complexity of 15 (exceeds 5 allowed). Consider refactoring. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method edit_mimetypes_modules
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
Function list_mimetypes_perms
has a Cognitive Complexity of 14 (exceeds 5 allowed). Consider refactoring. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Method edit_mimetypes
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 0;
Method uninstall_MimeTypes
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
The function list_mimetypes_perms() has 179 lines of code. Current threshold is set to 100. Avoid really long methods. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Exclude checks
The function list_mimetypes() has 146 lines of code. Current threshold is set to 100. Avoid really long methods. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Exclude checks
The function install_MimeTypes() has a Cyclomatic Complexity of 13. The configured cyclomatic complexity threshold is 10. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The function list_mimetypes_perms() has a Cyclomatic Complexity of 11. The configured cyclomatic complexity threshold is 10. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
The function uninstall_MimeTypes() has a Cyclomatic Complexity of 10. The configured cyclomatic complexity threshold is 10. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CyclomaticComplexity
Since: 0.1
Complexity is determined by the number of decision points in a method plus one for the method entry. The decision points are 'if', 'while', 'for', and 'case labels'. Generally, 1-4 is low complexity, 5-7 indicates moderate complexity, 8-10 is high complexity, and 11+ is very high complexity.
Example
// Cyclomatic Complexity = 11
class Foo {
1 public function example() {
2 if ($a == $b) {
3 if ($a1 == $b1) {
fiddle();
4 } elseif ($a2 == $b2) {
fiddle();
} else {
fiddle();
}
5 } elseif ($c == $d) {
6 while ($c == $d) {
fiddle();
}
7 } elseif ($e == $f) {
8 for ($n = 0; $n < $h; $n++) {
fiddle();
}
} else {
switch ($z) {
9 case 1:
fiddle();
break;
10 case 2:
fiddle();
break;
11 case 3:
fiddle();
break;
default:
fiddle();
break;
}
}
}
}
Source https://phpmd.org/rules/codesize.html#cyclomaticcomplexity
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' <span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' Adding Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = 'Adding module mimetypes data...';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' Mimetype <b>' . $mimeType['mime_ext'] . '</b> already existing.';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' <span style="color:#ff0000;">ERROR: Could not insert Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$mymsgs' which will lead to PHP notices. Open
$mymsgs[] = ' Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$msgs' which will lead to PHP notices. Open
$msgs[] = 'Deleting Mime Types permission...';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$msgs' which will lead to PHP notices. Open
$msgs[] = ' <span style="color:#ff0000;">ERROR: Could not delete Mime Type permission from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b></span>';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Avoid using undefined variables such as '$msgs' which will lead to PHP notices. Open
$msgs[] = ' Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';
- Read upRead up
- Exclude checks
UndefinedVariable
Since: 2.8.0
Detects when a variable is used that has not been defined before.
Example
class Foo
{
private function bar()
{
// $message is undefined
echo $message;
}
}
Source https://phpmd.org/rules/cleancode.html#undefinedvariable
Missing class import via use statement (line '30', column '39'). Open
$criteria = new CriteriaCompo(new Criteria('hasmain', 1));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '42', column '27'). Open
$modules_select = new XoopsFormSelect(_AM_XI_MIME_MODULES, 'mid', $mid);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '70', column '17'). Open
$form = new XoopsFormSelect(_AM_XI_MIME_MTYPE, 'type', $type);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '92', column '28'). Open
$criteria->add(new Criteria('mime_types', '%' . $type . '%', 'LIKE'));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '99', column '32'). Open
$criteria->add(new Criteria('mime_status', $status, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '219', column '20'). Open
$pagenav = new XoopsPageNav($mimetypes_count, 20, $start, 'start', $uri);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '248', column '28'). Open
$sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mime_status', $mime->getVar('mime_status'), ' ' . _YES . '', ' ' . _NO . ''));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '319', column '32'). Open
$criteria->add(new Criteria('mperm_status', $status, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '327', column '24'). Open
$form_select = new XoopsFormSelect(_AM_XI_MIME_DISPLAY, 'status');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '511', column '28'). Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_HEIGHT, 'mperm_maxheight', 3, 4, $mperm_maxheight));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '528', column '28'). Open
$butt_create = new XoopsFormButton('', '', _AM_XI_MIME_CREATE, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '534', column '28'). Open
$butt_cancel = new XoopsFormButton('', '', _AM_XI_MIME_CANCEL, 'button');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '593', column '44'). Open
$mimetypeObj = new xoopsmimetypes();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '244', column '28'). Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_NAME, 'mime_name', 50, 255, $mime->getVar('mime_name', 'e')), true);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '403', column '34'). Open
$form_mperm_id = new XoopsFormHidden('mperm_id[' . $mimetypes->mime_id() . ']', $mimetypes->mime_id());
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '411', column '34'). Open
$form_maxwidth = new XoopsFormText(_AM_XI_MIME_WIDTH, 'mperm_maxwidth[' . $mimetypes->mime_id() . ']', 3, 4, $mperm_maxwidth);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '450', column '24'). Open
$butt_create = new XoopsFormButton('', 'op', _AM_XI_MIME_SAVEALL, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '491', column '18'). Open
$sform = new XoopsThemeForm($forminfo, 'mimetype', 'mimetypes.php?');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '525', column '28'). Open
$sform->addElement(new XoopsFormHidden('mid', $mid));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '240', column '18'). Open
$sform = new XoopsThemeForm($forminfo, 'mimetype', 'mimetypes.php?');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '263', column '28'). Open
$butt_cancel = new XoopsFormButton('', '', _AM_XI_MIME_CANCEL, 'button');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '285', column '28'). Open
$butt_cancel = new XoopsFormButton('', '', _AM_XI_MIME_CANCEL, 'button');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '407', column '38'). Open
$form_mperm_module = new XoopsFormHidden('mperm_module[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_module'));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '483', column '17'). Open
$mime = new XoopsMimetypes_perms($mime_id);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '521', column '28'). Open
$sform->addElement(new XoopsFormHidden('mperm_id', $mime->getVar('mperm_id')));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '627', column '50'). Open
$mimetype_permsObj = new xoopsmimetypes_perms();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '30', column '21'). Open
$criteria = new CriteriaCompo(new Criteria('hasmain', 1));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '466', column '20'). Open
$pagenav = new XoopsPageNav($mimetypes_count, 20, $start, 'start', $uri);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '501', column '28'). Open
$sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mperm_status', $mime->getVar('mperm_status'), ' ' . _YES . '', ' ' . _NO . ''));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '109', column '65'). Open
$mimetypes_count = $mimetypes_Handler->getCount(new Criteria('mime_status', $status, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '252', column '19'). Open
$hidden = new XoopsFormHidden('op', 'save');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '271', column '32'). Open
$sform->addElement(new XoopsFormHidden('mid', $mid));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '275', column '32'). Open
$sform->addElement(new XoopsFormHidden('status', $status));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '316', column '43'). Open
$criteria = new CriteriaCompo(new Criteria('mperm_module', $mid, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '546', column '28'). Open
$butt_create = new XoopsFormButton('', '', _AM_XI_MIME_MODIFY, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '32', column '24'). Open
$criteria->add(new Criteria('isactive', 1));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '306', column '28'). Open
$criteria->add(new Criteria('mime_types', '%' . $type . '%', 'LIKE'));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '242', column '28'). Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_EXT, 'mime_ext', 5, 60, $mime->getVar('mime_ext', 'e')), true);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '250', column '24'). Open
$button_tray = new XoopsFormElementTray('', '');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '309', column '32'). Open
$criteria->add(new Criteria('mperm_status', $status, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '515', column '24'). Open
$button_tray = new XoopsFormElementTray('', '');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '131', column '19'). Open
$hidden = new XoopsFormHidden('new', 'new');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '257', column '28'). Open
$butt_create = new XoopsFormButton('', '', _AM_XI_MIME_CREATE, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '269', column '32'). Open
$sform->addElement(new XoopsFormHidden('mime_id', $mime->getVar('mime_id')));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '277', column '32'). Open
$sform->addElement(new XoopsFormHidden('mime_id', $mime_id));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '236', column '17'). Open
$mime = new XoopsMimetypes($mime_id);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '540', column '32'). Open
$sform->addElement(new XoopsFormHidden('start', $start));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '415', column '35'). Open
$form_maxheight = new XoopsFormText(_AM_XI_MIME_HEIGHT, 'mperm_maxheight[' . $mimetypes->mime_id() . ']', 3, 4, $mperm_maxheight);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '141', column '23'). Open
$hidden_mid = new XoopsFormHidden('mid', -1);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '405', column '36'). Open
$form_mperm_mime = new XoopsFormHidden('mperm_mime[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_mime'));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '615', column '44'). Open
$mimetypeObj = new xoopsmimetypes();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '113', column '24'). Open
$form_select = new XoopsFormSelect(_AM_XI_MIME_DISPLAY, 'status');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '90', column '25'). Open
$criteria = new CriteriaCompo();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '129', column '24'). Open
$button_tray = new XoopsFormElementTray('', '');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '499', column '28'). Open
$sform->addElement(new XoopsFormSelectGroup(_AM_XI_MIME_GROUPS, 'mperm_groups', true, $groups, 5, true));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '304', column '25'). Open
$criteria = new CriteriaCompo();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '517', column '19'). Open
$hidden = new XoopsFormHidden('op', 'save');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '523', column '28'). Open
$sform->addElement(new XoopsFormHidden('mperm_module', $mid));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '246', column '28'). Open
$sform->addElement(new XoopsFormTextArea(_AM_XI_MIME_TYPE, 'mime_types', $mime->getVar('mime_types', 'e'), 7, 60), true);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '347', column '23'). Open
$hidden_mid = new XoopsFormHidden('mid', $mid);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '419', column '33'). Open
$form_maxsize = new XoopsFormText(_AM_XI_MIME_SIZE, 'mperm_maxsize[' . $mimetypes->mime_id() . ']', 8, 10, $mperm_maxsize);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '513', column '28'). Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_SIZE, 'mperm_maxsize', 8, 10, $mperm_maxsize), true);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '544', column '32'). Open
$sform->addElement(new XoopsFormHidden('mime_id', $mime_id));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '135', column '21'). Open
$butt_new = new XoopsFormButton('', '', _AM_XI_MIME_NEW, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '273', column '32'). Open
$sform->addElement(new XoopsFormHidden('start', $start));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '316', column '25'). Open
$criteria = new CriteriaCompo(new Criteria('mperm_module', $mid, '='));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '343', column '21'). Open
$butt_new = new XoopsFormButton('', 'new', _AM_XI_MIME_NEW, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '401', column '34'). Open
$groups_select = new XoopsFormSelectGroup('', 'mperm_groups[' . $mimetypes->mime_id() . ']', true, $mimetypes->GetGroups(), 5, true);
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '542', column '32'). Open
$sform->addElement(new XoopsFormHidden('status', $status));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '552', column '28'). Open
$butt_cancel = new XoopsFormButton('', '', _AM_XI_MIME_CANCEL, 'button');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '34', column '24'). Open
$criteria->add(new Criteria('mid', 1), 'OR');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '279', column '28'). Open
$butt_create = new XoopsFormButton('', '', _AM_XI_MIME_MODIFY, 'submit');
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '509', column '28'). Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_WIDTH, 'mperm_maxwidth', 3, 4, $mperm_maxwidth));
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
Missing class import via use statement (line '687', column '40'). Open
$mimetypeObj = new xoopsmimetypes();
- Read upRead up
- Exclude checks
MissingImport
Since: 2.7.0
Importing all external classes in a file through use statements makes them clearly visible.
Example
function make() {
return new \stdClass();
}
Source http://phpmd.org/rules/cleancode.html#MissingImport
The method install_MimeTypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mymsgs[] = ' Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';
}
- 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 edit_mimetypes_modules uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$sform->addElement(new XoopsFormHidden('start', $start));
$sform->addElement(new XoopsFormHidden('status', $status));
- 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 assigning values to variables in if clauses and the like (line '573', column '9'). Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
IfStatementAssignment
Since: 2.7.0
Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.
Example
class Foo
{
public function bar($flag)
{
if ($foo = 'bar') { // possible typo
// ...
}
if ($baz = 0) { // always false
// ...
}
}
}
Source http://phpmd.org/rules/cleancode.html#ifstatementassignment
The method install_MimeTypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mymsgs[] = ' Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';
}
- 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 edit_mimetypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$sform->addElement(new XoopsFormHidden('mime_id', $mime->getVar('mime_id')));
$sform->addElement(new XoopsFormHidden('mid', $mid));
- 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 list_mimetypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mimetypes_count = $mimetypes_Handler->getCount(new Criteria('mime_status', $status, '='));
}
- 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 list_mimetypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
. _AM_XI_MIME_VIEW . '" /></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
The method list_mimetypes_perms uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mperm_mime() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
. _AM_XI_MIME_VIEW . '" /></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
The method install_MimeTypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mymsgs[] = ' <span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
}
- 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 assigning values to variables in if clauses and the like (line '670', column '9'). Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
IfStatementAssignment
Since: 2.7.0
Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.
Example
class Foo
{
public function bar($flag)
{
if ($foo = 'bar') { // possible typo
// ...
}
if ($baz = 0) { // always false
// ...
}
}
}
Source http://phpmd.org/rules/cleancode.html#ifstatementassignment
The method list_mimetypes_perms uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$criteria = new CriteriaCompo(new Criteria('mperm_module', $mid, '='));
if (-1 != $status) {
$criteria->add(new Criteria('mperm_status', $status, '='));
- 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 install_MimeTypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mymsgs[] = ' Mimetype <b>' . $mimeType['mime_ext'] . '</b> already existing.';
$mimetypeObj = new xoopsmimetypes();
- 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 list_mimetypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$mimetypes_list = $mimetypes_Handler->get_mimetypes(20, $start, $status);
if (-1 == $status) {
$mimetypes_count = $mimetypes_Handler->getCount();
- 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 list_mimetypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$criteria->add(new Criteria('mime_status', $status, '='));
$mimetypes_count = $mimetypes_Handler->getCount($criteria);
}
- 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 uninstall_MimeTypes uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them. Open
} else {
$msgs[] = ' Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';
}
- 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 '$key'. Open
foreach ($mimetypes_list as $key => $mimetypes) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$mime_handler'. Open
$mime_handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$key'. Open
foreach ($mimetypes_list as $key => $mimetypes) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$key'. Open
foreach ($mimeTypes as $key => $mimeType) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$key'. Open
foreach ($mimeTypes as $key => $mimeType) {
- Read upRead up
- Exclude checks
UnusedLocalVariable
Since: 0.2
Detects when a local variable is declared and/or assigned, but not used.
Example
class Foo {
public function doSomething()
{
$i = 5; // Unused
}
}
Source https://phpmd.org/rules/unusedcode.html#unusedlocalvariable
Avoid unused local variables such as '$newmid'. Open
$newmid = $ModuleInfo->mid();
- 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
Similar blocks of code found in 2 locations. Consider refactoring. Open
if ($mimetypes->mime_status()) {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=hide" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.on.gif" align="absmiddle" alt="' . _AM_XI_MIME_VIEW . '->'
. _AM_XI_MIME_HIDE . '" /></a>';
} else {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 129.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
if ($mimetypes->mperm_status()) {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mperm_mime() . '&op=hide" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.on.gif" align="absmiddle" alt="' . _AM_XI_MIME_VIEW . '->'
. _AM_XI_MIME_HIDE . '" /></a>';
} else {
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mperm_mime() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 129.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
if (($hModule->getByDirname('xoopsinfo') && '2.0' == mb_substr(XOOPS_VERSION, 6, 3) && mb_substr(XOOPS_VERSION, 10, 2) < 16)
|| ($hModule->getByDirname('xoopsinfo') && '2.2' == mb_substr(XOOPS_VERSION, 6, 3))) {
$newmid = $ModuleInfo->mid();
$mimeTypes = $ModuleInfo->getInfo('mimetypes');
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 90.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
if (($hModule->getByDirname('xoopsinfo') && '2.0' == mb_substr(XOOPS_VERSION, 6, 3) && mb_substr(XOOPS_VERSION, 10, 2) < 16)
|| ($hModule->getByDirname('xoopsinfo') && '2.2' == mb_substr(XOOPS_VERSION, 6, 3))) {
$newmid = $ModuleInfo->mid();
$mimeTypes = $ModuleInfo->getInfo('mimetypes');
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 90.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 24 and the first side effect is on line 18. Open
<?php
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
$sform->addElement(new XoopsFormTextArea(_AM_XI_MIME_TYPE, 'mime_types', $mime->getVar('mime_types', 'e'), 7, 60), true);
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
$form_mperm_mime = new XoopsFormHidden('mperm_mime[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_mime'));
- Exclude checks
Line exceeds 120 characters; contains 249 characters Open
echo '<td align="left"class="odd"><b>' . $mimetypes->mime_name() . '</b><br><div style="text-align:right">' . _AM_XI_MIME_WIDTH . ' : ' . $form_maxwidth->render() . '<br>' . _AM_XI_MIME_HEIGHT . ' : ' . $form_maxheight->render() . '<br>'
- Exclude checks
Line exceeds 120 characters; contains 173 characters Open
. _AM_XI_MIME_SIZE . ' : ' . $form_maxsize->render() . $form_mperm_id->render() . $form_mperm_mime->render() . $form_mperm_module->render() . '</div></td>';
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
if (($hModule->getByDirname('xoopsinfo') && '2.0' == mb_substr(XOOPS_VERSION, 6, 3) && mb_substr(XOOPS_VERSION, 10, 2) < 16)
- Exclude checks
Line exceeds 120 characters; contains 240 characters Open
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
- Exclude checks
Line exceeds 120 characters; contains 136 characters Open
$form_mperm_module = new XoopsFormHidden('mperm_module[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_module'));
- Exclude checks
Line exceeds 120 characters; contains 145 characters Open
$msgs[] = ' Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';
- Exclude checks
Line exceeds 120 characters; contains 138 characters Open
$form_maxwidth = new XoopsFormText(_AM_XI_MIME_WIDTH, 'mperm_maxwidth[' . $mimetypes->mime_id() . ']', 3, 4, $mperm_maxwidth);
- Exclude checks
Line exceeds 120 characters; contains 243 characters Open
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mperm_mime() . '&op=hide" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.on.gif" align="absmiddle" alt="' . _AM_XI_MIME_VIEW . '->'
- Exclude checks
Line exceeds 120 characters; contains 200 characters Open
$mymsgs[] = ' <span style="color:#ff0000;">ERROR: Could not insert Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
- Exclude checks
Line exceeds 120 characters; contains 197 characters Open
$msgs[] = ' <span style="color:#ff0000;">ERROR: Could not delete Mime Type permission from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b></span>';
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
$sform->addElement(new XoopsFormText(_AM_XI_MIME_NAME, 'mime_name', 50, 255, $mime->getVar('mime_name', 'e')), true);
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
admintitle(_AM_XI_ADMENU7 . '<br>' . _AM_XI_MIME_MODULES . ' <font color="#CC0000">' . $mimetypes_Handler->mime_module($mid) . '</font>');
- Exclude checks
Line exceeds 120 characters; contains 145 characters Open
$groups_select = new XoopsFormSelectGroup('', 'mperm_groups[' . $mimetypes->mime_id() . ']', true, $mimetypes->GetGroups(), 5, true);
- Exclude checks
Line exceeds 120 characters; contains 135 characters Open
$form_maxsize = new XoopsFormText(_AM_XI_MIME_SIZE, 'mperm_maxsize[' . $mimetypes->mime_id() . ']', 8, 10, $mperm_maxsize);
- Exclude checks
Line exceeds 120 characters; contains 243 characters Open
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mperm_mime() . '&op=view" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.off.gif" align="absmiddle" alt="' . _AM_XI_MIME_HIDE . '->'
- Exclude checks
Line exceeds 120 characters; contains 125 characters Open
$sform->addElement($mimetypes_Handler->XoopsFormSelectMime(_AM_XI_MIME_NAME, 'mperm_mime', $mime->getVar('mperm_mime')));
- Exclude checks
Line exceeds 120 characters; contains 145 characters Open
$sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mperm_status', $mime->getVar('mperm_status'), ' ' . _YES . '', ' ' . _NO . ''));
- Exclude checks
Line exceeds 120 characters; contains 137 characters Open
$mymsgs[] = ' Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';
- Exclude checks
Line exceeds 120 characters; contains 233 characters Open
$dele = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=dele" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/dele.gif" align="absmiddle" alt="' . _AM_XI_MIME_DELE . '" /></a>';
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
if (($hModule->getByDirname('xoopsinfo') && '2.0' == mb_substr(XOOPS_VERSION, 6, 3) && mb_substr(XOOPS_VERSION, 10, 2) < 16)
- Exclude checks
Line exceeds 120 characters; contains 147 characters Open
$mymsgs[] = ' Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';
- Exclude checks
Line exceeds 120 characters; contains 143 characters Open
$sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mime_status', $mime->getVar('mime_status'), ' ' . _YES . '', ' ' . _NO . ''));
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
$mymsgs[] = ' Adding Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.';
- Exclude checks
Line exceeds 120 characters; contains 233 characters Open
$edit = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=edit" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/edit.gif" align="absmiddle" alt="' . _AM_XI_MIME_EDIT . '" /></a>';
- Exclude checks
Line exceeds 120 characters; contains 177 characters Open
$mymsgs[] = ' <span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
- Exclude checks
Line exceeds 120 characters; contains 240 characters Open
$status = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=hide" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/mimetypes.on.gif" align="absmiddle" alt="' . _AM_XI_MIME_VIEW . '->'
- Exclude checks
Line exceeds 120 characters; contains 142 characters Open
$form_maxheight = new XoopsFormText(_AM_XI_MIME_HEIGHT, 'mperm_maxheight[' . $mimetypes->mime_id() . ']', 3, 4, $mperm_maxheight);
- Exclude checks
Line exceeds 120 characters; contains 233 characters Open
$edit = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=edit" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/edit.gif" align="absmiddle" alt="' . _AM_XI_MIME_EDIT . '" /></a>';
- Exclude checks
Line exceeds 120 characters; contains 233 characters Open
$dele = '<a href="mimetypes.php?' . $uri . '&mime_id=' . $mimetypes->mime_id() . '&op=dele" /><img src="' . XOOPS_URL . '/modules/xoopsinfo/images/icons/dele.gif" align="absmiddle" alt="' . _AM_XI_MIME_DELE . '" /></a>';
- Exclude checks
The variable $mimetypes_Handler is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_mperm_mime is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_mperm_module is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mperm_maxsize is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_id is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $ModuleInfo is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ModuleInfo is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_list is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_mperm_id is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_Handler is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mperm_maxheight is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_id is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_handler is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_list is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_mperm_module is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mperm_maxwidth is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $list_types is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $hidden_mid is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_list is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_mperm_id is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxheight is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxsize is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $hidden_mid is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $types_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $hidden_mid is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $hidden_mid is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ModuleInfo is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $types_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $groups_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $ModuleInfo is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_handler is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_list is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimeperms_handler is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_list is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_list is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxheight is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $groups_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_mperm_mime is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxwidth is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_maxwidth is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_maxheight is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_id is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxsize is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_maxwidth is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_maxheight is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ModuleInfo is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_list is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $list_types is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $types_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_Handler is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_id is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_list is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_maxsize is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $ModuleInfo is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimeperms_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimeperms_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $ModuleInfo is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_cancel is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_list is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_cancel is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $form_maxsize is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_Handler is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mperm_maxheight is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimeperms_handler is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $module_list is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $list_types is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $list_types is not named in camelCase. Open
function GetTypeList()
{
global $mid, $status, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_count is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $button_tray is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $butt_create is not named in camelCase. Open
function edit_mimetypes()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetypes_count is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxwidth is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mime_id is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $modules_select is not named in camelCase. Open
function TypesMime_GetModulesList()
{
global $mid;
$module_handler = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetypes_Handler is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $form_select is not named in camelCase. Open
function list_mimetypes()
{
global $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_new is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $types_select is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxwidth is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mperm_maxsize is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $butt_create is not named in camelCase. Open
function list_mimetypes_perms()
{
global $xoopsModule, $uri, $status, $mid, $start, $type;
$mimetypes_Handler = xoops_getHandler('mimetypes_perms');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $button_tray is not named in camelCase. Open
function edit_mimetypes_modules()
{
global $status, $mid, $start;
$mime_id = isset($_REQUEST['mime_id']) ? (int)$_REQUEST['mime_id'] : 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 $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function install_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_handler is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimeperms_handler is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimeperms_handler is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mime_id is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}
Source
The variable $mimetype_permsObj is not named in camelCase. Open
function uninstall_MimeTypes($dirname = '')
{
include_once(XOOPS_ROOT_PATH . '/kernel/mimetypes.php');
$hModule = xoops_getHandler('module');
- Read upRead up
- Exclude checks
CamelCaseVariableName
Since: 0.2
It is considered best practice to use the camelCase notation to name variables.
Example
class ClassName {
public function doSomething() {
$data_module = new DataModule();
}
}