CloneSet412


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4430.978statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1489
administrator/components/com_redirect/controllers/link.php
2476
administrator/components/com_users/controllers/group.php
3476
administrator/components/com_users/controllers/level.php
4476
administrator/components/com_users/controllers/user.php
Clone Instance
1
Line Count
4
Source Line
89
Source File
administrator/components/com_redirect/controllers/link.php

                $linkId=          (int) (count($cid)
                                         ?             $cid[0]
                                         :                       JRequest::getInt('l_id'));
                // Set the category id for the category to edit in the session.
                $app->setUserState('redirect.edit.link.id', $linkId);


Clone Instance
2
Line Count
4
Source Line
76
Source File
administrator/components/com_users/controllers/group.php

                // Get the id of the group to edit.
                $groupId=  (int) (count($cid)
                                  ?             $cid[0]
                                  :                       JRequest::getInt('group_id'));
                // Set the group id for the group to edit in the session.
                $app->setUserState('com_users.edit.group.id', $groupId);


Clone Instance
3
Line Count
4
Source Line
76
Source File
administrator/components/com_users/controllers/level.php

                // Get the id of the access level to edit.
                $levelId=  (int) (count($cid)
                                  ?             $cid[0]
                                  :                       JRequest::getInt('level_id'));
                // Set the id for the level to edit in the session.
                $app->setUserState('com_users.edit.level.id', $levelId);


Clone Instance
4
Line Count
4
Source Line
76
Source File
administrator/components/com_users/controllers/user.php

                // Get the id of the user to edit.
                $userId=  (int) (count($cid)
                                 ?             $cid[0]
                                 :                       JRequest::getInt('user_id'));
                // Set the id for the user to edit in the session.
                $app->setUserState('com_users.edit.user.id', $userId);


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable24196780]]= (int) (count($cid)
                               ? $cid[0]
                               : JRequest::getInt( [[#variable24196740]]));
// Set the category id for the category to edit in the session.
// Set the group id for the group to edit in the session.
// Set the id for the level to edit in the session.
// Set the id for the user to edit in the session.
$app->setUserState( [[#variable241966c0]], [[#variable24196780]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24196780]]
$linkId 
12[[#24196780]]
// Get the id of the group to edit.
$groupId 
13[[#24196780]]
// Get the id of the access level to edit.
$levelId 
14[[#24196780]]
// Get the id of the user to edit.
$userId 
21[[#24196740]]
'l_id' 
22[[#24196740]]
'group_id' 
23[[#24196740]]
'level_id' 
24[[#24196740]]
'user_id' 
31[[#241966c0]]
'redirect.edit.link.id' 
32[[#241966c0]]
'com_users.edit.group.id' 
33[[#241966c0]]
'com_users.edit.level.id' 
34[[#241966c0]]
'com_users.edit.user.id'