CloneSet758


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.987statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11081
administrator/components/com_modules/controller.php
210143
components/com_weblinks/controllers/weblink.php
Clone Instance
1
Line Count
10
Source Line
81
Source File
administrator/components/com_modules/controller.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();


Clone Instance
2
Line Count
10
Source Line
143
Source File
components/com_weblinks/controllers/weblink.php

                $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();


Clone AbstractionParameter Count: 3Parameter Bindings

//$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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2233ecc0]]
'weblink' 
12[[#2233ecc0]]
'module' 
21[[#2233ed00]]
'Weblink Saved' 
22[[#2233ed00]]
'Module Saved' 
31[[#2233ec60]]
'Error Saving Weblink' 
32[[#2233ec60]]
'Error Saving Module'