Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 5 | 3 | 0.975 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 3 | 48 | administrator/components/com_categories/controllers/categories.php |
2 | 3 | 43 | administrator/components/com_content/controllers/articles.php |
3 | 3 | 48 | administrator/components/com_menus/controllers/items.php |
4 | 3 | 31 | administrator/components/com_menus/controllers/menus.php |
5 | 3 | 33 | components/com_weblinks/controllers/weblink.php |
| ||||
/** * Proxy for getModel */ function &getModel($name= 'Category', $prefix= 'CategoriesModel') { return parent::getModel($name, $prefix, array('ignore_request' => TRUE)); } |
| ||||
/** * Proxy for getModel */ function &getModel($name= 'Article', $prefix= 'ContentModel') { return parent::getModel($name, $prefix, array('ignore_request' => TRUE)); } |
| ||||
/** * Proxy for getModel */ function &getModel($name= 'Item', $prefix= 'MenusModel') { return parent::getModel($name, $prefix, array('ignore_request' => TRUE)); } |
| ||||
/** * Proxy for getModel */ function &getModel($name= 'Menu', $prefix= 'MenusModel') { return parent::getModel($name, $prefix, array('ignore_request' => TRUE)); } |
| ||||
/** * 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)); } |
| |||
[[#variable525e2080]] /** * Proxy for getModel */ function &getModel($name= [[#variable525e2000]],$prefix= [[#variable525e2020]]) { return parent::getModel($name,$prefix,array('ignore_request' => TRUE)); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#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 |
1 | 2 | [[#525e2080]] | |
1 | 3 | [[#525e2080]] | |
1 | 4 | [[#525e2080]] | |
1 | 5 | [[#525e2080]] | |
2 | 1 | [[#525e2000]] | 'Weblink' |
2 | 2 | [[#525e2000]] | 'Menu' |
2 | 3 | [[#525e2000]] | 'Item' |
2 | 4 | [[#525e2000]] | 'Article' |
2 | 5 | [[#525e2000]] | 'Category' |
3 | 1 | [[#525e2020]] | 'WeblinksModel' |
3 | 2 | [[#525e2020]] | 'MenusModel' |
3 | 3 | [[#525e2020]] | 'MenusModel' |
3 | 4 | [[#525e2020]] | 'ContentModel' |
3 | 5 | [[#525e2020]] | 'CategoriesModel' |