CloneSet504


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3530.975class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1348
administrator/components/com_categories/controllers/categories.php
2343
administrator/components/com_content/controllers/articles.php
3348
administrator/components/com_menus/controllers/items.php
4331
administrator/components/com_menus/controllers/menus.php
5333
components/com_weblinks/controllers/weblink.php
Clone Instance
1
Line Count
3
Source Line
48
Source File
administrator/components/com_categories/controllers/categories.php

        /**
         * Proxy for getModel
         */
        function &getModel($name=  'Category', $prefix=  'CategoriesModel') {

                return parent::getModel($name, $prefix, array('ignore_request' => TRUE));
              }


Clone Instance
2
Line Count
3
Source Line
43
Source File
administrator/components/com_content/controllers/articles.php

        /**
         * Proxy for getModel
         */
        function &getModel($name=  'Article', $prefix=  'ContentModel') {

                return parent::getModel($name, $prefix, array('ignore_request' => TRUE));
              }


Clone Instance
3
Line Count
3
Source Line
48
Source File
administrator/components/com_menus/controllers/items.php

        /**
         * Proxy for getModel
         */
        function &getModel($name=  'Item', $prefix=  'MenusModel') {

                return parent::getModel($name, $prefix, array('ignore_request' => TRUE));
              }


Clone Instance
4
Line Count
3
Source Line
31
Source File
administrator/components/com_menus/controllers/menus.php

        /**
         * Proxy for getModel
         */
        function &getModel($name=  'Menu', $prefix=  'MenusModel') {

                return parent::getModel($name, $prefix, array('ignore_request' => TRUE));
              }


Clone Instance
5
Line Count
3
Source Line
33
Source File
components/com_weblinks/controllers/weblink.php

        /**
         * Method to get a model object, loading it if required.
         *
         * @param       string  The model name. Optional.
         * @param       string  The class prefix. Optional.
         * @param       array   Configuration array for model. Optional.
         * @return      object  The model.
         * @since       1.6
         */
        public

               function &getModel($name=  'Weblink', $prefix=  'WeblinksModel') {

                return parent::getModel($name, $prefix, array('ignore_request' => TRUE));
              }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable525e2080]]

/**
         * Proxy for getModel
         */
function &getModel($name= [[#variable525e2000]],$prefix= [[#variable525e2020]]) {
  return parent::getModel($name,$prefix,array('ignore_request' => TRUE));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525e2080]]
/**
 * Method to get a model object, loading it if required.
 *
 * @param       string  The model name. Optional.
 * @param       string  The class prefix. Optional.
 * @param       array   Configuration array for model. Optional.
 * @return      object  The model.
 * @since       1.6
 */
public 
12[[#525e2080]]
13[[#525e2080]]
14[[#525e2080]]
15[[#525e2080]]
21[[#525e2000]]
'Weblink' 
22[[#525e2000]]
'Menu' 
23[[#525e2000]]
'Item' 
24[[#525e2000]]
'Article' 
25[[#525e2000]]
'Category' 
31[[#525e2020]]
'WeblinksModel' 
32[[#525e2020]]
'MenusModel' 
33[[#525e2020]]
'MenusModel' 
34[[#525e2020]]
'ContentModel' 
35[[#525e2020]]
'CategoriesModel'