Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
1 | 2 | 3 | 0.968 | or_expression |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 1 | 132 | administrator/components/com_users/controllers/level.json.php |
2 | 1 | 35 | plugins/system/redirect.php |
| ||||
// This needs to be AFTER the class declaration because of PHP 5.1. JError::setErrorHandling( E_ALL ,'callback', array( 'UsersControllerLevel', 'sendResponse' )) |
| ||||
// Set the error handler for E_ERROR to be the class handleError method. JError::setErrorHandling( E_ERROR ,'callback', array( 'plgSystemRedirect','handleError' )) |
| |||
// Set the error handler for E_ERROR to be the class handleError method. // This needs to be AFTER the class declaration because of PHP 5.1. JError::setErrorHandling( [[#variable587db800]],'callback',array( [[#variable587db740]], [[#variable587db6e0]] )) |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#587db800]] | E_ERROR |
1 | 2 | [[#587db800]] | E_ALL |
2 | 1 | [[#587db740]] | 'plgSystemRedirect' |
2 | 2 | [[#587db740]] | 'UsersControllerLevel' |
3 | 1 | [[#587db6e0]] | 'handleError' |
3 | 2 | [[#587db6e0]] | 'sendResponse' |