CloneSet681


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9220.992if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19299
administrator/components/com_categories/controllers/category.php
29318
administrator/components/com_menus/controllers/item.php
Clone Instance
1
Line Count
9
Source Line
299
Source File
administrator/components/com_categories/controllers/category.php

                // Attempt to run the batch operation.
                if ($model->batch($vars, $cid))
                {
                        $this->setMessage(JText::_('Categories_Batch_success'));
                        return TRUE;
                      }
                else
                {
                        $this->setMessage(JText::_(JText::sprintf('Categories_Error_Batch_failed', $model->getError())));
                        return FALSE;
                      }


Clone Instance
2
Line Count
9
Source Line
318
Source File
administrator/components/com_menus/controllers/item.php

                // Attempt to run the batch operation.
                if ($model->batch($vars, $cid))
                {
                        $this->setMessage(JText::_('Menus_Batch_success'));
                        return TRUE;
                      }
                else
                {
                        $this->setMessage(JText::_(JText::sprintf('Menus_Error_Batch_failed', $model->getError())));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// Attempt to run the batch operation.
if ($model->batch($vars,$cid)) {
  $this->setMessage(JText::_( [[#variable250b8f60]]));
  return TRUE;
}
else {
  $this->setMessage(JText::_(JText::sprintf( [[#variable250b8ec0]],$model->getError())));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#250b8f60]]
'Categories_Batch_success' 
12[[#250b8f60]]
'Menus_Batch_success' 
21[[#250b8ec0]]
'Categories_Error_Batch_failed' 
22[[#250b8ec0]]
'Menus_Error_Batch_failed'