CloneSet166


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15620.992class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11560
components/com_users/helpers/route.php
21585
components/com_users/helpers/route.php
315110
components/com_users/helpers/route.php
415135
components/com_users/helpers/route.php
515160
components/com_users/helpers/route.php
615185
components/com_users/helpers/route.php
Clone Instance
1
Line Count
15
Source Line
60
Source File
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;
              }


Clone Instance
2
Line Count
15
Source Line
85
Source File
components/com_users/helpers/route.php

        /**
         * 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;
              }


Clone Instance
3
Line Count
15
Source Line
110
Source File
components/com_users/helpers/route.php

        /**
         * 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;
              }


Clone Instance
4
Line Count
15
Source Line
135
Source File
components/com_users/helpers/route.php

        /**
         * 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;
              }


Clone Instance
5
Line Count
15
Source Line
160
Source File
components/com_users/helpers/route.php

        /**
         * 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;
              }


Clone Instance
6
Line Count
15
Source Line
185
Source File
components/com_users/helpers/route.php

        /**
         * 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;
              }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#47bc0220]]
getResetRoute 
12[[#47bc0220]]
getResendRoute 
13[[#47bc0220]]
getRemindRoute 
14[[#47bc0220]]
getRegistrationRoute 
15[[#47bc0220]]
getProfileRoute 
16[[#47bc0220]]
getLoginRoute 
21[[#47bc01a0]]
'reset' 
22[[#47bc01a0]]
'resend' 
23[[#47bc01a0]]
'remind' 
24[[#47bc01a0]]
'registration' 
25[[#47bc01a0]]
'profile' 
26[[#47bc01a0]]
'login'