Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 4 | 3 | 0.978 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 89 | administrator/components/com_redirect/controllers/link.php |
2 | 4 | 76 | administrator/components/com_users/controllers/group.php |
3 | 4 | 76 | administrator/components/com_users/controllers/level.php |
4 | 4 | 76 | administrator/components/com_users/controllers/user.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); |
| ||||
// 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); |
| ||||
// 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); |
| ||||
// 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); |
| |||
[[#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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#24196780]] | $linkId |
1 | 2 | [[#24196780]] | // Get the id of the group to edit. $groupId |
1 | 3 | [[#24196780]] | // Get the id of the access level to edit. $levelId |
1 | 4 | [[#24196780]] | // Get the id of the user to edit. $userId |
2 | 1 | [[#24196740]] | 'l_id' |
2 | 2 | [[#24196740]] | 'group_id' |
2 | 3 | [[#24196740]] | 'level_id' |
2 | 4 | [[#24196740]] | 'user_id' |
3 | 1 | [[#241966c0]] | 'redirect.edit.link.id' |
3 | 2 | [[#241966c0]] | 'com_users.edit.group.id' |
3 | 3 | [[#241966c0]] | 'com_users.edit.level.id' |
3 | 4 | [[#241966c0]] | 'com_users.edit.user.id' |