CloneSet97


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8930.987statement_block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18224
administrator/components/com_categories/controllers/category.php
28241
administrator/components/com_content/controllers/article.php
38228
administrator/components/com_menus/controllers/item.php
48156
administrator/components/com_menus/controllers/menu.php
58207
administrator/components/com_redirect/controllers/link.php
68167
administrator/components/com_users/controllers/group.php
78164
administrator/components/com_users/controllers/level.php
88171
administrator/components/com_users/controllers/user.php
98124
components/com_users/controllers/registration.php
Clone Instance
1
Line Count
8
Source Line
224
Source File
administrator/components/com_categories/controllers/category.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_categories.edit.category.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('JError_Save_failed', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_categories&view=category&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
2
Line Count
8
Source Line
241
Source File
administrator/components/com_content/controllers/article.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_content.edit.article.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('JError_Save_failed', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_content&view=article&layout=edit', FALSE));
                        return FALSE;
                      }


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

                {
                        // Save the data in the session.
                        $app->setUserState('com_menus.edit.item.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('JError_Save_failed', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_menus&view=item&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
4
Line Count
8
Source Line
156
Source File
administrator/components/com_menus/controllers/menu.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_menus.edit.menu.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('JError_Save_failed', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_menus&view=menu&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
5
Line Count
8
Source Line
207
Source File
administrator/components/com_redirect/controllers/link.php

                {
                        // Save the data in the session.
                        $app->setUserState('redirect.edit.link.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('Redirect_Link_Save_Failed', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_redirect&view=link&layout=edit&hidemainmenu=1', FALSE));
                        return FALSE;
                      }


Clone Instance
6
Line Count
8
Source Line
167
Source File
administrator/components/com_users/controllers/group.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_users.edit.group.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('USERS_GROUP_SAVE_FAILED', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_users&view=group&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
7
Line Count
8
Source Line
164
Source File
administrator/components/com_users/controllers/level.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_users.edit.level.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('USERS_LEVEL_SAVE_FAILED', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_users&view=level&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
8
Line Count
8
Source Line
171
Source File
administrator/components/com_users/controllers/user.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_users.edit.user.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('USERS_MEMBER_SAVE_FAILED', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_users&view=user&layout=edit', FALSE));
                        return FALSE;
                      }


Clone Instance
9
Line Count
8
Source Line
124
Source File
components/com_users/controllers/registration.php

                {
                        // Save the data in the session.
                        $app->setUserState('com_users.registration.data', $data);

                        // Redirect back to the edit screen.
                        $this->setMessage(JText::sprintf('USERS REGISTRATION SAVE FAILED', $model->getError()), 'notice');
                        $this->setRedirect(JRoute::_('index.php?option=com_users&view=registration', FALSE));
                        return FALSE;
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

{
  // Save the data in the session.
  $app->setUserState( [[#variable57f6fb40]],$data);
  // Redirect back to the edit screen.
  $this->setMessage(JText::sprintf( [[#variable57f6fac0]],$model->getError()),'notice');
  $this->setRedirect(JRoute::_( [[#variable57f6fae0]],FALSE));
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#57f6fb40]]
'com_categories.edit.category.data' 
12[[#57f6fb40]]
'redirect.edit.link.data' 
13[[#57f6fb40]]
'com_users.edit.group.data' 
14[[#57f6fb40]]
'com_users.edit.level.data' 
15[[#57f6fb40]]
'com_users.edit.user.data' 
16[[#57f6fb40]]
'com_users.registration.data' 
17[[#57f6fb40]]
'com_menus.edit.menu.data' 
18[[#57f6fb40]]
'com_content.edit.article.data' 
19[[#57f6fb40]]
'com_menus.edit.item.data' 
21[[#57f6fac0]]
'JError_Save_failed' 
22[[#57f6fac0]]
'Redirect_Link_Save_Failed' 
23[[#57f6fac0]]
'USERS_GROUP_SAVE_FAILED' 
24[[#57f6fac0]]
'USERS_LEVEL_SAVE_FAILED' 
25[[#57f6fac0]]
'USERS_MEMBER_SAVE_FAILED' 
26[[#57f6fac0]]
'USERS REGISTRATION SAVE FAILED' 
27[[#57f6fac0]]
'JError_Save_failed' 
28[[#57f6fac0]]
'JError_Save_failed' 
29[[#57f6fac0]]
'JError_Save_failed' 
31[[#57f6fae0]]
'index.php?option=com_categories&view=category&layout=edit' 
32[[#57f6fae0]]
'index.php?option=com_redirect&view=link&layout=edit&hidemainmenu=1' 
33[[#57f6fae0]]
'index.php?option=com_users&view=group&layout=edit' 
34[[#57f6fae0]]
'index.php?option=com_users&view=level&layout=edit' 
35[[#57f6fae0]]
'index.php?option=com_users&view=user&layout=edit' 
36[[#57f6fae0]]
'index.php?option=com_users&view=registration' 
37[[#57f6fae0]]
'index.php?option=com_menus&view=menu&layout=edit' 
38[[#57f6fae0]]
'index.php?option=com_content&view=article&layout=edit' 
39[[#57f6fae0]]
'index.php?option=com_menus&view=item&layout=edit'