Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 9 | 3 | 0.987 | statement_block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 224 | administrator/components/com_categories/controllers/category.php |
2 | 8 | 241 | administrator/components/com_content/controllers/article.php |
3 | 8 | 228 | administrator/components/com_menus/controllers/item.php |
4 | 8 | 156 | administrator/components/com_menus/controllers/menu.php |
5 | 8 | 207 | administrator/components/com_redirect/controllers/link.php |
6 | 8 | 167 | administrator/components/com_users/controllers/group.php |
7 | 8 | 164 | administrator/components/com_users/controllers/level.php |
8 | 8 | 171 | administrator/components/com_users/controllers/user.php |
9 | 8 | 124 | components/com_users/controllers/registration.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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| ||||
{ // 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; } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#57f6fb40]] | 'com_categories.edit.category.data' |
1 | 2 | [[#57f6fb40]] | 'redirect.edit.link.data' |
1 | 3 | [[#57f6fb40]] | 'com_users.edit.group.data' |
1 | 4 | [[#57f6fb40]] | 'com_users.edit.level.data' |
1 | 5 | [[#57f6fb40]] | 'com_users.edit.user.data' |
1 | 6 | [[#57f6fb40]] | 'com_users.registration.data' |
1 | 7 | [[#57f6fb40]] | 'com_menus.edit.menu.data' |
1 | 8 | [[#57f6fb40]] | 'com_content.edit.article.data' |
1 | 9 | [[#57f6fb40]] | 'com_menus.edit.item.data' |
2 | 1 | [[#57f6fac0]] | 'JError_Save_failed' |
2 | 2 | [[#57f6fac0]] | 'Redirect_Link_Save_Failed' |
2 | 3 | [[#57f6fac0]] | 'USERS_GROUP_SAVE_FAILED' |
2 | 4 | [[#57f6fac0]] | 'USERS_LEVEL_SAVE_FAILED' |
2 | 5 | [[#57f6fac0]] | 'USERS_MEMBER_SAVE_FAILED' |
2 | 6 | [[#57f6fac0]] | 'USERS REGISTRATION SAVE FAILED' |
2 | 7 | [[#57f6fac0]] | 'JError_Save_failed' |
2 | 8 | [[#57f6fac0]] | 'JError_Save_failed' |
2 | 9 | [[#57f6fac0]] | 'JError_Save_failed' |
3 | 1 | [[#57f6fae0]] | 'index.php?option=com_categories&view=category&layout=edit' |
3 | 2 | [[#57f6fae0]] | 'index.php?option=com_redirect&view=link&layout=edit&hidemainmenu=1' |
3 | 3 | [[#57f6fae0]] | 'index.php?option=com_users&view=group&layout=edit' |
3 | 4 | [[#57f6fae0]] | 'index.php?option=com_users&view=level&layout=edit' |
3 | 5 | [[#57f6fae0]] | 'index.php?option=com_users&view=user&layout=edit' |
3 | 6 | [[#57f6fae0]] | 'index.php?option=com_users&view=registration' |
3 | 7 | [[#57f6fae0]] | 'index.php?option=com_menus&view=menu&layout=edit' |
3 | 8 | [[#57f6fae0]] | 'index.php?option=com_content&view=article&layout=edit' |
3 | 9 | [[#57f6fae0]] | 'index.php?option=com_menus&view=item&layout=edit' |