Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 3 | 0.976 | statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 608 | administrator/components/com_content/models/article.php |
2 | 4 | 685 | administrator/components/com_menus/models/item.php |
| ||||
$db->setQuery( 'UPDATE #__menu' . ' SET menutype = ' . $db->quote($menuType) . ' WHERE id IN (' . implode(',', $children) . ')'); |
| ||||
// Update the menutype field in all nodes where necessary. $db->setQuery( 'UPDATE `#__menu`' . ' SET `menutype` = ' . $db->quote($menuType) . ' WHERE `id` IN (' . implode(',', $children) . ')'); |
| |||
// Update the menutype field in all nodes where necessary. $db->setQuery( [[#variable515f6460]] . [[#variable515f5460]] . $db->quote($menuType) . [[#variable515f6480]] . implode(',',$children) . ')'); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#515f6460]] | 'UPDATE #__menu' |
1 | 2 | [[#515f6460]] | 'UPDATE `#__menu`' |
2 | 1 | [[#515f5460]] | ' SET menutype = ' |
2 | 2 | [[#515f5460]] | ' SET `menutype` = ' |
3 | 1 | [[#515f6480]] | ' WHERE id IN (' |
3 | 2 | [[#515f6480]] | ' WHERE `id` IN (' |