| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 15 | 6 | 2 | 0.992 | class_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 15 | 60 | components/com_users/helpers/route.php |
| 2 | 15 | 85 | components/com_users/helpers/route.php |
| 3 | 15 | 110 | components/com_users/helpers/route.php |
| 4 | 15 | 135 | components/com_users/helpers/route.php |
| 5 | 15 | 160 | components/com_users/helpers/route.php |
| 6 | 15 | 185 | components/com_users/helpers/route.php |
| ||||
/**
* Method to get a route configuration for the login view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getLoginRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'login') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| ||||
/**
* Method to get a route configuration for the profile view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getProfileRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'profile') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| ||||
/**
* Method to get a route configuration for the registration view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getRegistrationRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'registration') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| ||||
/**
* Method to get a route configuration for the remind view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getRemindRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'remind') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| ||||
/**
* Method to get a route configuration for the resend view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getResendRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'resend') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| ||||
/**
* Method to get a route configuration for the reset view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function getResetRoute() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid= NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === 'reset') {
$itemid= $item->id;
break;
}
}
return $itemid;
}
|
| |||
/**
* Method to get a route configuration for the reset view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
/**
* Method to get a route configuration for the resend view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
/**
* Method to get a route configuration for the remind view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
/**
* Method to get a route configuration for the registration view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
/**
* Method to get a route configuration for the profile view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
/**
* Method to get a route configuration for the login view.
*
* @access public
* @return mixed Integer menu id on success, null on failure.
* @since 1.0
* @static
*/
function [[#variable47bc0220]]() {
// Get the items.
$items= &UsersHelperRoute::getItems();
$itemid=NULL;
// Search for a suitable menu id.
foreach ($items as $item) {
if ( isset ($item->query['view'])
&& $item->query['view'] === [[#variable47bc01a0]]) {
$itemid=$item->id;
break;
}
}
return $itemid;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#47bc0220]] | getResetRoute |
| 1 | 2 | [[#47bc0220]] | getResendRoute |
| 1 | 3 | [[#47bc0220]] | getRemindRoute |
| 1 | 4 | [[#47bc0220]] | getRegistrationRoute |
| 1 | 5 | [[#47bc0220]] | getProfileRoute |
| 1 | 6 | [[#47bc0220]] | getLoginRoute |
| 2 | 1 | [[#47bc01a0]] | 'reset' |
| 2 | 2 | [[#47bc01a0]] | 'resend' |
| 2 | 3 | [[#47bc01a0]] | 'remind' |
| 2 | 4 | [[#47bc01a0]] | 'registration' |
| 2 | 5 | [[#47bc01a0]] | 'profile' |
| 2 | 6 | [[#47bc01a0]] | 'login' |