Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 4 | 0.983 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 68 | administrator/components/com_categories/views/category/view.html.php |
2 | 7 | 68 | administrator/components/com_menus/views/item/view.html.php |
| ||||
// If not checked out, can save the item. if ($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id')) { JToolBarHelper::addNew('category.save2new', 'JToolbar_Save_and_new'); JToolBarHelper::save('category.save'); JToolBarHelper::apply('category.apply'); } JToolBarHelper::cancel('category.cancel'); |
| ||||
// If not checked out, can save the item. if ($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id')) { JToolBarHelper::addNew('item.save2new', 'JToolbar_Save_and_new'); JToolBarHelper::save('item.save'); JToolBarHelper::apply('item.apply'); } JToolBarHelper::cancel('item.cancel'); |
| |||
// If not checked out, can save the item. if ($this->item->checked_out == 0 || $this->item->checked_out == $user->get('id')) { JToolBarHelper::addNew( [[#variable46fc2080]],'JToolbar_Save_and_new'); JToolBarHelper::save( [[#variable46fc2000]]); JToolBarHelper::apply( [[#variable22a5fea0]]); } JToolBarHelper::cancel( [[#variable22a5ffa0]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#46fc2080]] | 'category.save2new' |
1 | 2 | [[#46fc2080]] | 'item.save2new' |
2 | 1 | [[#46fc2000]] | 'category.save' |
2 | 2 | [[#46fc2000]] | 'item.save' |
3 | 1 | [[#22a5fea0]] | 'category.apply' |
3 | 2 | [[#22a5fea0]] | 'item.apply' |
4 | 1 | [[#22a5ffa0]] | 'category.cancel' |
4 | 2 | [[#22a5ffa0]] | 'item.cancel' |