XoopsModules25x/xoopsinfo

View on GitHub
modules/xoopsinfo/include/mimetypes.php

Summary

Maintainability
F
4 days
Test Coverage

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;

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;

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;

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;

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');
Severity: Minor
Found in modules/xoopsinfo/include/mimetypes.php - About 5 hrs to fix

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);

/**
Severity: Minor
Found in modules/xoopsinfo/include/mimetypes.php - About 5 hrs to fix

    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');
    Severity: Major
    Found in modules/xoopsinfo/include/mimetypes.php - About 3 hrs to fix

      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');
      Severity: Major
      Found in modules/xoopsinfo/include/mimetypes.php - About 3 hrs to fix

        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');
        Severity: Minor
        Found in modules/xoopsinfo/include/mimetypes.php - About 2 hrs to fix

        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');
        Severity: Major
        Found in modules/xoopsinfo/include/mimetypes.php - About 2 hrs to fix

          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');
          Severity: Minor
          Found in modules/xoopsinfo/include/mimetypes.php - About 1 hr to fix

          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;
          Severity: Minor
          Found in modules/xoopsinfo/include/mimetypes.php - About 1 hr to fix

            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');
            Severity: Minor
            Found in modules/xoopsinfo/include/mimetypes.php - About 1 hr to fix

            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;
            Severity: Minor
            Found in modules/xoopsinfo/include/mimetypes.php - About 1 hr to fix

              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');
              Severity: Minor
              Found in modules/xoopsinfo/include/mimetypes.php - About 1 hr to fix

                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');

                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');

                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');

                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');

                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');

                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[] = '&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';

                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[] = '&nbsp;&nbsp;Adding Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.';

                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...';

                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[] = '&nbsp;&nbsp;&nbsp;&nbsp;Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';

                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[] = '&nbsp;&nbsp;Mimetype <b>' . $mimeType['mime_ext'] . '</b> already existing.';

                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[] = '&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not insert Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';

                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[] = '&nbsp;&nbsp;&nbsp;&nbsp;Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';

                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...';

                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[] = '&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not delete Mime Type permission from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b></span>';

                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[] = '&nbsp;&nbsp;Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';

                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));

                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);

                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);

                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'));

                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, '='));

                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);

                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 . ''));

                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, '='));

                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');

                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));

                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');

                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');

                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();

                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);

                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());

                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);

                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');

                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?');

                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));

                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?');

                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');

                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');

                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'));

                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);

                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')));

                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();

                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));

                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);

                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 . ''));

                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, '='));

                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');

                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));

                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));

                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, '='));

                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');

                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));

                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'));

                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);

                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('', '');

                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, '='));

                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('', '');

                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');

                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');

                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')));

                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));

                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);

                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));

                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);

                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);

                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'));

                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();

                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');

                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();

                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('', '');

                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));

                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();

                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');

                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));

                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);

                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);

                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);

                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);

                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));

                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');

                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));

                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, '='));

                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');

                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);

                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));

                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');

                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');

                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');

                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));

                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();

                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[] = '&nbsp;&nbsp;&nbsp;&nbsp;Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';
                                    }

                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));
                
                

                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');

                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[] = '&nbsp;&nbsp;&nbsp;&nbsp;Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';
                                        }

                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));
                
                

                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, '='));
                        }

                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>';
                            }

                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>';
                            }

                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[] = '&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';
                                        }

                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');

                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, '='));

                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[] = '&nbsp;&nbsp;Mimetype <b>' . $mimeType['mime_ext'] . '</b> already existing.';
                
                                        $mimetypeObj = new xoopsmimetypes();
                
                

                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();

                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);
                        }

                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[] = '&nbsp;&nbsp;Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';
                                    }

                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) {

                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');

                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) {

                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) {

                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) {

                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();

                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 . '->'
                Severity: Major
                Found in modules/xoopsinfo/include/mimetypes.php and 1 other location - About 2 hrs to fix
                modules/xoopsinfo/include/mimetypes.php on lines 421..427

                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

                Further Reading

                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 . '->'
                Severity: Major
                Found in modules/xoopsinfo/include/mimetypes.php and 1 other location - About 2 hrs to fix
                modules/xoopsinfo/include/mimetypes.php on lines 191..197

                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

                Further Reading

                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');
                Severity: Minor
                Found in modules/xoopsinfo/include/mimetypes.php and 1 other location - About 30 mins to fix
                modules/xoopsinfo/include/mimetypes.php on lines 671..702

                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

                Further Reading

                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');
                Severity: Minor
                Found in modules/xoopsinfo/include/mimetypes.php and 1 other location - About 30 mins to fix
                modules/xoopsinfo/include/mimetypes.php on lines 574..657

                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

                Further Reading

                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

                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);

                Line exceeds 120 characters; contains 130 characters
                Open

                            $form_mperm_mime = new XoopsFormHidden('mperm_mime[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_mime'));

                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>'

                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>';

                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)

                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 . '->'

                Line exceeds 120 characters; contains 136 characters
                Open

                            $form_mperm_module = new XoopsFormHidden('mperm_module[' . $mimetypes->mime_id() . ']', $mimetypes->getVar('mperm_module'));

                Line exceeds 120 characters; contains 145 characters
                Open

                                        $msgs[] = '&nbsp;&nbsp;Mime Type permission deleted from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b>';

                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);

                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 . '->'

                Line exceeds 120 characters; contains 200 characters
                Open

                                            $mymsgs[] = '&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not insert Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';

                Line exceeds 120 characters; contains 197 characters
                Open

                                        $msgs[] = '&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not delete Mime Type permission from the database. Extension : <b>' . $mimeType['mime_ext'] . '</b></span>';

                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);

                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>');

                Line exceeds 120 characters; contains 145 characters
                Open

                            $groups_select = new XoopsFormSelectGroup('', 'mperm_groups[' . $mimetypes->mime_id() . ']', true, $mimetypes->GetGroups(), 5, true);

                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);

                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 . '->'

                Line exceeds 120 characters; contains 125 characters
                Open

                    $sform->addElement($mimetypes_Handler->XoopsFormSelectMime(_AM_XI_MIME_NAME, 'mperm_mime', $mime->getVar('mperm_mime')));

                Line exceeds 120 characters; contains 145 characters
                Open

                    $sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mperm_status', $mime->getVar('mperm_status'), ' ' . _YES . '', ' ' . _NO . ''));

                Line exceeds 120 characters; contains 137 characters
                Open

                                        $mymsgs[] = '&nbsp;&nbsp;&nbsp;&nbsp;Mimetype Permissions<b>' . $mimeType['mime_ext'] . '</b> already existing.';

                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>';

                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)

                Line exceeds 120 characters; contains 147 characters
                Open

                                            $mymsgs[] = '&nbsp;&nbsp;&nbsp;&nbsp;Adding Mimetype permission <b>' . $mimeType['mime_ext'] . '</b> to the database.';

                Line exceeds 120 characters; contains 143 characters
                Open

                    $sform->addElement(new XoopsFormRadioYN(_AM_XI_MIME_STATUS, 'mime_status', $mime->getVar('mime_status'), ' ' . _YES . '', ' ' . _NO . ''));

                Line exceeds 120 characters; contains 124 characters
                Open

                                            $mymsgs[] = '&nbsp;&nbsp;Adding Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.';

                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>';

                Line exceeds 120 characters; contains 177 characters
                Open

                                            $mymsgs[] = '&nbsp;&nbsp;<span style="color:#ff0000;">ERROR: Could not insert Mimetype <b>' . $mimeType['mime_ext'] . '</b> to the database.</span>';

                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 . '->'

                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);

                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>';

                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>';

                The variable $mimetypes_Handler is not named in camelCase.
                Open

                function GetTypeList()
                {
                    global $mid, $status, $type;
                
                    $mimetypes_Handler = xoops_getHandler('mimetypes');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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;

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

                It is 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');

                CamelCaseVariableName

                Since: 0.2

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

                Example

                class ClassName {
                    public function doSomething() {
                        $data_module = new DataModule();
                    }
                }

                Source

                There are no issues that match your filters.

                Category
                Status