Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 3 | 0.987 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 81 | administrator/components/com_modules/controller.php |
2 | 10 | 143 | components/com_weblinks/controllers/weblink.php |
| ||||
//$post['client_id'] = $client->id; $model= $this->getModel('module'); if ($model->store($post)) { $msg= JText::_('Module Saved'); } else { $msg= JText::_('Error Saving Module'); } // Check the table in so it can be edited.... we are done with it anyway $model->checkin(); |
| ||||
$model= $this->getModel('weblink'); if ($model->store($post)) { $msg= JText::_('Weblink Saved'); } else { $msg= JText::_('Error Saving Weblink'); } // Check the table in so it can be edited.... we are done with it anyway $model->checkin(); |
| |||
//$post['client_id'] = $client->id; $model=$this->getModel( [[#variable2233ecc0]]); if ($model->store($post)) { $msg=JText::_( [[#variable2233ed00]]); } else { $msg=JText::_( [[#variable2233ec60]]); } // Check the table in so it can be edited.... we are done with it anyway $model->checkin(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2233ecc0]] | 'weblink' |
1 | 2 | [[#2233ecc0]] | 'module' |
2 | 1 | [[#2233ed00]] | 'Weblink Saved' |
2 | 2 | [[#2233ed00]] | 'Module Saved' |
3 | 1 | [[#2233ec60]] | 'Error Saving Weblink' |
3 | 2 | [[#2233ec60]] | 'Error Saving Module' |