CloneSet519


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7260.978statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1757
administrator/components/com_categories/models/category.php
2758
administrator/components/com_menus/models/item.php
Clone Instance
1
Line Count
7
Source Line
57
Source File
administrator/components/com_categories/models/category.php

                if (!($parentId=  $app->getUserState('com_categories.edit.category.parent_id'))) {
                        $parentId=  JRequest::getInt('parent_id');
                      }
                $this->setState('category.parent_id', $parentId);

                if (!($extension=  $app->getUserState('com_categories.edit.category.extension'))) {
                        $extension=  JRequest::getCmd('extension', 'com_content');
                      }


Clone Instance
2
Line Count
7
Source Line
58
Source File
administrator/components/com_menus/models/item.php

                if (!($parentId=  $app->getUserState('com_menus.edit.item.parent_id'))) {
                        $parentId=  JRequest::getInt('parent_id');
                      }
                $this->setState('item.parent_id', $parentId);

                if (!($menuType=  $app->getUserState('com_menus.edit.item.menutype'))) {
                        $menuType=  JRequest::getCmd('menutype', 'mainmenu');
                      }


Clone AbstractionParameter Count: 6Parameter Bindings

if (!($parentId=$app->getUserState( [[#variable46589700]]))) {
  $parentId=JRequest::getInt('parent_id');
}
$this->setState( [[#variable46589660]],$parentId);
if (!( [[#variable465895e0]]=$app->getUserState( [[#variable46589580]]))) {
   [[#variable465895e0]]=JRequest::getCmd( [[#variable46589160]], [[#variable46589540]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#46589700]]
'com_menus.edit.item.parent_id' 
12[[#46589700]]
'com_categories.edit.category.parent_id' 
21[[#46589660]]
'item.parent_id' 
22[[#46589660]]
'category.parent_id' 
31[[#465895e0]]
$menuType 
32[[#465895e0]]
$extension 
41[[#46589580]]
'com_menus.edit.item.menutype' 
42[[#46589580]]
'com_categories.edit.category.extension' 
51[[#46589160]]
'menutype' 
52[[#46589160]]
'extension' 
61[[#46589540]]
'mainmenu' 
62[[#46589540]]
'com_content'