CloneSet690


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.957statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1762
administrator/components/com_templates/controller.php
27153
administrator/components/com_templates/controller.php
Clone Instance
1
Line Count
7
Source Line
62
Source File
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);


Clone Instance
2
Line Count
7
Source Line
153
Source File
administrator/components/com_templates/controller.php

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


Clone AbstractionParameter Count: 2Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2361a8c0]]
store 
12[[#2361a8c0]]
setDefault 
21[[#4c65af80]]
$params 
22[[#4c65af80]]