CloneSet418


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.992class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1927
administrator/components/com_categories/controllers/categories.php
2927
administrator/components/com_menus/controllers/items.php
3725
administrator/components/com_weblinks/controllers/weblinks.php
Clone Instance
1
Line Count
9
Source Line
27
Source File
administrator/components/com_categories/controllers/categories.php

        /**
         * Constructor.
         *
         * @param       array An optional associative array of configuration settings.
         * @see         JController
         */
        public

               function __construct($config=  array()) {

                parent:: __construct($config);

                // Register proxy tasks.
                $this->registerTask('unpublish',        'publish');
                $this->registerTask('trash',            'publish');
                $this->registerTask('orderup',          'ordering');
                $this->registerTask('orderdown',        'ordering');
              }


Clone Instance
2
Line Count
9
Source Line
27
Source File
administrator/components/com_menus/controllers/items.php

        /**
         * Constructor.
         *
         * @param       array An optional associative array of configuration settings.
         * @see         JController
         */
        public

               function __construct($config=  array()) {

                parent:: __construct($config);

                // Register proxy tasks.
                $this->registerTask('unpublish',        'publish');
                $this->registerTask('trash',            'publish');
                $this->registerTask('orderup',          'ordering');
                $this->registerTask('orderdown',        'ordering');
              }


Clone Instance
3
Line Count
7
Source Line
25
Source File
administrator/components/com_weblinks/controllers/weblinks.php

        /**
         * Constructor.
         *
         * @param       array An optional associative array of configuration settings.
         * @see         JController
         */
        public

               function __construct($config=  array()) {

                parent:: __construct($config);
                $this->registerTask('unpublish',        'publish');
                $this->registerTask('trash',            'publish');
                $this->registerTask('orderup',          'reorder');
                $this->registerTask('orderdown',        'reorder');
              }


Clone AbstractionParameter Count: 1Parameter Bindings

/**
         * Constructor.
         *
         * @param       array An optional associative array of configuration settings.
         * @see         JController
         */
public

      function __construct($config=array()) {
        parent:: __construct($config);
        // Register proxy tasks.
        $this->registerTask('unpublish','publish');
        $this->registerTask('trash','publish');
        $this->registerTask('orderup', [[#variable524dabc0]]);
        $this->registerTask('orderdown', [[#variable524dabc0]]);
      }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#524dabc0]]
'reorder' 
12[[#524dabc0]]
'ordering' 
13[[#524dabc0]]
'ordering'