CloneSet438


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4430.972statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1452
administrator/components/com_categories/models/category.php
2453
administrator/components/com_content/models/article.php
3453
administrator/components/com_menus/models/item.php
4453
administrator/components/com_menus/models/menu.php
Clone Instance
1
Line Count
4
Source Line
52
Source File
administrator/components/com_categories/models/category.php

                // Load the User state.
                if (!($pk=  (int) $app->getUserState('com_categories.edit.category.id'))) {
                        $pk=  (int) JRequest::getInt('item_id');
                      }
                $this->setState('category.id', $pk);


Clone Instance
2
Line Count
4
Source Line
53
Source File
administrator/components/com_content/models/article.php

                // Load the User state.
                if (!($pk=  (int) $app->getUserState('com_content.edit.article.id'))) {
                        $pk=  (int) JRequest::getInt('item_id');
                      }
                $this->setState('article.id',                   $pk);


Clone Instance
3
Line Count
4
Source Line
53
Source File
administrator/components/com_menus/models/item.php

                // Load the User state.
                if (!($pk=  (int) $app->getUserState('com_menus.edit.item.id'))) {
                        $pk=  (int) JRequest::getInt('item_id');
                      }
                $this->setState('item.id', $pk);


Clone Instance
4
Line Count
4
Source Line
53
Source File
administrator/components/com_menus/models/menu.php

                // Load the User state.
                if (!($id=  (int) $app->getUserState('com_menus.edit.menu.id'))) {
                        $id=  (int) JRequest::getInt('item_id');
                      }
                $this->setState('menu.id', $id);


Clone AbstractionParameter Count: 3Parameter Bindings

// Load the User state.
if (!( [[#variable490cddc0]]= (int) $app->getUserState( [[#variable490cdd20]]))) {
   [[#variable490cddc0]]= (int) JRequest::getInt('item_id');
}
$this->setState( [[#variable490cdd60]], [[#variable490cddc0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#490cddc0]]
$id 
12[[#490cddc0]]
$pk 
13[[#490cddc0]]
$pk 
14[[#490cddc0]]
$pk 
21[[#490cdd20]]
'com_menus.edit.menu.id' 
22[[#490cdd20]]
'com_menus.edit.item.id' 
23[[#490cdd20]]
'com_content.edit.article.id' 
24[[#490cdd20]]
'com_categories.edit.category.id' 
31[[#490cdd60]]
'menu.id' 
32[[#490cdd60]]
'item.id' 
33[[#490cdd60]]
'article.id' 
34[[#490cdd60]]
'category.id'