CloneSet37


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
32120.955statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13139
administrator/components/com_categories/controllers/categories.php
23179
administrator/components/com_categories/controllers/category.php
33238
administrator/components/com_categories/controllers/category.php
43100
administrator/components/com_content/controllers/article.php
53139
administrator/components/com_content/controllers/article.php
63178
administrator/components/com_content/controllers/article.php
73255
administrator/components/com_content/controllers/article.php
8397
administrator/components/com_menus/controllers/item.php
93180
administrator/components/com_menus/controllers/item.php
103242
administrator/components/com_menus/controllers/item.php
113139
administrator/components/com_menus/controllers/items.php
123244
administrator/components/com_users/controllers/user.php
13380
administrator/components/com_weblinks/controllers/weblink.php
14389
administrator/components/com_weblinks/controllers/weblink.php
153124
administrator/components/com_weblinks/controllers/weblink.php
163189
administrator/components/com_weblinks/controllers/weblink.php
173197
administrator/components/com_weblinks/controllers/weblink.php
18355
administrator/components/com_weblinks/controllers/weblinks.php
193102
administrator/components/com_weblinks/controllers/weblinks.php
203134
administrator/components/com_weblinks/controllers/weblinks.php
213144
components/com_users/controllers/user.php
Clone Instance
1
Line Count
3
Source Line
139
Source File
administrator/components/com_categories/controllers/categories.php

                        // Reorder failed.
                        $message=  JText::sprintf('JError_Reorder_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_categories&view=categories', $message, 'error');
                        return FALSE;


Clone Instance
2
Line Count
3
Source Line
179
Source File
administrator/components/com_categories/controllers/category.php

                                // Check-in failed, go back to the item and display a notice.
                                $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                                $this->setRedirect('index.php?option=com_categories&view=category&layout=edit', $message, 'error');
                                return FALSE;


Clone Instance
3
Line Count
3
Source Line
238
Source File
administrator/components/com_categories/controllers/category.php

                        // Check-in failed, go back to the row and display a notice.
                        $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                        $this->setRedirect('index.php?option=com_categories&view=category&layout=edit', $message, 'error');
                        return FALSE;


Clone Instance
4
Line Count
3
Source Line
100
Source File
administrator/components/com_content/controllers/article.php

                                        // Check-out failed, go back to the list and display a notice.
                                        $message=  JText::sprintf('JError_Checkout_failed', $model->getError());
                                        $this->setRedirect('index.php?option=com_content&view=article&item_id='
                                                           .                                                    $id, $message, 'error');
                                        return FALSE;


Clone Instance
5
Line Count
3
Source Line
139
Source File
administrator/components/com_content/controllers/article.php

                        // Check-in failed, go back to the menu item and display a notice.
                        $message=  JText::sprintf('JError_Checkin_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_content&view=article&layout=edit', $message, 'error');
                        return FALSE;


Clone Instance
6
Line Count
3
Source Line
178
Source File
administrator/components/com_content/controllers/article.php

                                // Check-in failed, go back to the item and display a notice.
                                $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                                $this->setRedirect('index.php?option=com_content&view=article&layout=edit', $message, 'error');
                                return FALSE;


Clone Instance
7
Line Count
3
Source Line
255
Source File
administrator/components/com_content/controllers/article.php

                        // Check-in failed, go back to the row and display a notice.
                        $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                        $this->setRedirect('index.php?option=com_content&view=article&layout=edit', $message, 'error');
                        return FALSE;


Clone Instance
8
Line Count
3
Source Line
97
Source File
administrator/components/com_menus/controllers/item.php

                                        // Check-out failed, go back to the list and display a notice.
                                        $message=  JText::sprintf('JError_Checkout_failed', $model->getError());
                                        $this->setRedirect('index.php?option=com_menus&view=item&item_id='
                                                           .                                               $id, $message, 'error');
                                        return FALSE;


Clone Instance
9
Line Count
3
Source Line
180
Source File
administrator/components/com_menus/controllers/item.php

                                // Check-in failed, go back to the item and display a notice.
                                $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                                $this->setRedirect('index.php?option=com_menus&view=item&layout=edit', $message, 'error');
                                return FALSE;


Clone Instance
10
Line Count
3
Source Line
242
Source File
administrator/components/com_menus/controllers/item.php

                        // Check-in failed, go back to the row and display a notice.
                        $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                        $this->setRedirect('index.php?option=com_menus&view=item&layout=edit', $message, 'error');
                        return FALSE;


Clone Instance
11
Line Count
3
Source Line
139
Source File
administrator/components/com_menus/controllers/items.php

                        // Reorder failed.
                        $message=  JText::sprintf('JError_Reorder_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_menus&view=items', $message, 'error');
                        return FALSE;


Clone Instance
12
Line Count
3
Source Line
244
Source File
administrator/components/com_users/controllers/user.php

                        // Batch operation failed, go back to the users list and display a notice.
                        $message=  JText::sprintf('USERS_USERS_BATCH_FAILED', $model->getError());
                        $this->setRedirect('index.php?option=com_users&view=users', $message, 'error');
                        return FALSE;


Clone Instance
13
Line Count
3
Source Line
80
Source File
administrator/components/com_weblinks/controllers/weblink.php

                                // Check-in failed, go back to the weblink and display a notice.
                                $message=  JText::sprintf('JError_Checkin_failed', $model->getError());
                                $this->setRedirect('index.php?option=com_weblinks&view=weblink&layout=edit', $message, 'error');
                                return FALSE;


Clone Instance
14
Line Count
3
Source Line
89
Source File
administrator/components/com_weblinks/controllers/weblink.php

                        // Check-out failed, go back to the list and display a notice.
                        $message=  JText::sprintf('JError_Checkout_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblink&weblink_id='
                                           .                                                        $weblinkId, $message, 'error');
                        return FALSE;


Clone Instance
15
Line Count
3
Source Line
124
Source File
administrator/components/com_weblinks/controllers/weblink.php

                                // Check-in failed, go back to the weblink and display a notice.
                                $message=  JText::sprintf('JError_Checkin_failed', $model->getError());
                                $this->setRedirect('index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1', $message, 'error');
                                return FALSE;


Clone Instance
16
Line Count
3
Source Line
189
Source File
administrator/components/com_weblinks/controllers/weblink.php

                        // Save failed, go back to the weblink and display a notice.
                        $message=  JText::sprintf('JError_Save_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1', $message, 'error');
                        return FALSE;


Clone Instance
17
Line Count
3
Source Line
197
Source File
administrator/components/com_weblinks/controllers/weblink.php

                        // Check-in failed, go back to the weblink and display a notice.
                        $message=  JText::sprintf('JError_Checkin_saved', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1', $message, 'error');
                        return FALSE;


Clone Instance
18
Line Count
3
Source Line
55
Source File
administrator/components/com_weblinks/controllers/weblinks.php

                        $message=  JText::sprintf('JError_Occurred', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblinks', $message, 'error');
                        return FALSE;


Clone Instance
19
Line Count
3
Source Line
102
Source File
administrator/components/com_weblinks/controllers/weblinks.php

                        $message=  JText::sprintf('JError_Occurred', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblinks', $message, 'error');
                        return FALSE;


Clone Instance
20
Line Count
3
Source Line
134
Source File
administrator/components/com_weblinks/controllers/weblinks.php

                        // Move failed, go back to the weblink and display a notice.
                        $message=  JText::sprintf('JError_Reorder_failed', $model->getError());
                        $this->setRedirect('index.php?option=com_weblinks&view=weblinks', $message, 'error');
                        return FALSE;


Clone Instance
21
Line Count
3
Source Line
144
Source File
components/com_users/controllers/user.php

                        // Redirect back to the registration form.
                        $message=  JText::sprintf('USERS REGISTRATION FAILED', $model->getError());
                        $this->setRedirect('index.php?option=com_users&view=registration', $message, 'error');
                        return FALSE;


Clone AbstractionParameter Count: 2Parameter Bindings

// Reorder failed.
// Check-in failed, go back to the row and display a notice.
// Check-in failed, go back to the menu item and display a notice.
// Check-in failed, go back to the weblink and display a notice.
// Check-out failed, go back to the list and display a notice.
// Move failed, go back to the weblink and display a notice.
// Batch operation failed, go back to the users list and display a notice.
// Save failed, go back to the weblink and display a notice.
// Redirect back to the registration form.
// Check-in failed, go back to the item and display a notice.
$message=JText::sprintf( [[#variable585abac0]],$model->getError());
$this->setRedirect( [[#variable523cc500]],$message,'error');
return FALSE;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#585abac0]]
'JError_Reorder_failed' 
12[[#585abac0]]
'JError_Checkin_saved' 
13[[#585abac0]]
'JError_Occurred' 
14[[#585abac0]]
'JError_Checkin_saved' 
15[[#585abac0]]
'JError_Checkin_failed' 
16[[#585abac0]]
'JError_Checkin_saved' 
17[[#585abac0]]
'JError_Checkout_failed' 
18[[#585abac0]]
'JError_Checkout_failed' 
19[[#585abac0]]
'JError_Checkin_failed' 
110[[#585abac0]]
'JError_Reorder_failed' 
111[[#585abac0]]
'JError_Checkin_saved' 
112[[#585abac0]]
'JError_Checkin_failed' 
113[[#585abac0]]
'USERS_USERS_BATCH_FAILED' 
114[[#585abac0]]
'JError_Save_failed' 
115[[#585abac0]]
'USERS REGISTRATION FAILED' 
116[[#585abac0]]
'JError_Checkout_failed' 
117[[#585abac0]]
'JError_Reorder_failed' 
118[[#585abac0]]
'JError_Occurred' 
119[[#585abac0]]
'JError_Checkin_saved' 
120[[#585abac0]]
'JError_Checkin_saved' 
121[[#585abac0]]
'JError_Checkin_saved' 
21[[#523cc500]]
'index.php?option=com_categories&view=categories' 
22[[#523cc500]]
'index.php?option=com_categories&view=category&layout=edit' 
23[[#523cc500]]
'index.php?option=com_weblinks&view=weblinks' 
24[[#523cc500]]
'index.php?option=com_content&view=article&layout=edit' 
25[[#523cc500]]
'index.php?option=com_content&view=article&layout=edit' 
26[[#523cc500]]
'index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1' 
27[[#523cc500]]
'index.php?option=com_content&view=article&item_id='
. $id 
28[[#523cc500]]
'index.php?option=com_weblinks&view=weblink&weblink_id='
. $weblinkId 
29[[#523cc500]]
'index.php?option=com_weblinks&view=weblink&layout=edit' 
210[[#523cc500]]
'index.php?option=com_weblinks&view=weblinks' 
211[[#523cc500]]
'index.php?option=com_menus&view=item&layout=edit' 
212[[#523cc500]]
'index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1' 
213[[#523cc500]]
'index.php?option=com_users&view=users' 
214[[#523cc500]]
'index.php?option=com_weblinks&view=weblink&layout=edit&hidemainmenu=1' 
215[[#523cc500]]
'index.php?option=com_users&view=registration' 
216[[#523cc500]]
'index.php?option=com_menus&view=item&item_id='
. $id 
217[[#523cc500]]
'index.php?option=com_menus&view=items' 
218[[#523cc500]]
'index.php?option=com_weblinks&view=weblinks' 
219[[#523cc500]]
'index.php?option=com_menus&view=item&layout=edit' 
220[[#523cc500]]
'index.php?option=com_content&view=article&layout=edit' 
221[[#523cc500]]
'index.php?option=com_categories&view=category&layout=edit'