Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.957 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 62 | administrator/components/com_templates/controller.php |
2 | 7 | 153 | administrator/components/com_templates/controller.php |
| ||||
if ($model->store($params)) { $msg= JText::_('Template Saved'); } else { $msg= JText::_('Error Saving Template') . $model->getError(); } $this->setRedirect('index.php?option=' . $option . '&task=edit&cid[]=' . $id . '&client=' . $client->id ,$msg); |
| ||||
if ($model->setDefault()) { $msg= JText::_('Template Saved'); } else { $msg= JText::_('Error Saving Template') . $model->getError(); } $this->setRedirect('index.php?option=' . $option . '&task=edit&cid[]=' . $id . '&client=' . $client->id ,$msg); |
| |||
if ($model-> [[#variable2361a8c0]]( [[#variable4c65af80]])) { $msg=JText::_('Template Saved'); } else { $msg=JText::_('Error Saving Template') . $model->getError(); } $this->setRedirect('index.php?option=' . $option . '&task=edit&cid[]=' . $id . '&client=' . $client->id ,$msg); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2361a8c0]] | store |
1 | 2 | [[#2361a8c0]] | setDefault |
2 | 1 | [[#4c65af80]] | $params |
2 | 2 | [[#4c65af80]] |