CloneSet1991


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.965function_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14444
libraries/joomla/application/component/controller.php
24279
libraries/joomla/application/component/model.php
Clone Instance
1
Line Count
4
Source Line
444
Source File
libraries/joomla/application/component/controller.php

        /**
         * Adds to the stack of model paths in LIFO order.
         *
         * @static
         * @param       string|array The directory (string), or list of directories
         *                       (array) to add.
         * @return      void
         */
        function addModelPath($path) {

                jimport('joomla.application.component.model');
                JModel::addIncludePath($path);
              }


Clone Instance
2
Line Count
4
Source Line
279
Source File
libraries/joomla/application/component/model.php

                      function addTablePath($path) {

                jimport('joomla.database.table');
                JTable::addIncludePath($path);
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Adds to the stack of model paths in LIFO order.
         *
         * @static
         * @param       string|array The directory (string), or list of directories
         *                       (array) to add.
         * @return      void
         */
function [[#variable44b02c00]]($path) {
  jimport( [[#variable44b02b80]]);
   [[#variable44b02b00]]::addIncludePath($path);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#44b02c00]]
addModelPath 
12[[#44b02c00]]
addTablePath 
21[[#44b02b80]]
'joomla.application.component.model' 
22[[#44b02b80]]
'joomla.database.table' 
31[[#44b02b00]]
JModel 
32[[#44b02b00]]
JTable