CloneSet370


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23250.980class_member_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12327
administrator/components/com_users/models/group.php
22328
administrator/components/com_users/models/level.php
Clone Instance
1
Line Count
23
Source Line
27
Source File
administrator/components/com_users/models/group.php

        /**
         * Array of items for memory caching.
         *
         * @var         array
         */
        protected $_items=                        array();

        /**
         * Method to auto-populate the model state.
         *
         * @return      void
         */
        protected

                  function _populateState() {

                $app=             &JFactory::getApplication('administrator');
                $params=          &JComponentHelper::getParams('com_users');

                // Load the group state.
                if (!$groupId=  (int) $app->getUserState('com_users.edit.group.id')) {
                        $groupId=  (int) JRequest::getInt('group_id');
                      }
                $this->setState('group.id', $groupId);

                // Add the group id to the context to preserve sanity.
                $context=  'com_users.group.'
                           .                  $groupId
                           .                           '.';
                // Load the parameters.
                $this->setState('params', $params);
              }


Clone Instance
2
Line Count
23
Source Line
28
Source File
administrator/components/com_users/models/level.php

        /**
         * Array of items for memory caching.
         *
         * @var         array
         */
        protected $_items=  array();

        /**
         * Method to auto-populate the model state.
         *
         * @return      void
         */
        protected

                  function _populateState() {

                $app=             &JFactory::getApplication('administrator');
                $params=          &JComponentHelper::getParams('com_users');

                // Load the level state.
                if (!$levelId=  (int) $app->getUserState('com_users.edit.level.id')) {
                        $levelId=  (int) JRequest::getInt('level_id');
                      }
                $this->setState('level.id', $levelId);

                // Add the level id to the context to preserve sanity.
                $context=  'com_users.level.'
                           .                  $levelId
                           .                           '.';
                // Load the parameters.
                $this->setState('params', $params);
              }


Clone AbstractionParameter Count: 5Parameter Bindings

/**
         * Array of items for memory caching.
         *
         * @var         array
         */
protected $_items=array();
/**
         * Method to auto-populate the model state.
         *
         * @return      void
         */
protected

         function _populateState() {
           $app= &JFactory::getApplication('administrator');
           $params= &JComponentHelper::getParams('com_users');
           // Load the level state.
           // Load the group state.
           if (! [[#variable484f8ac0]]= (int) $app->getUserState( [[#variable484f8a80]])) {
              [[#variable484f8ac0]]= (int) JRequest::getInt( [[#variable484f8940]]);
           }
           $this->setState( [[#variable2246cf60]], [[#variable484f8ac0]]);
           // Add the level id to the context to preserve sanity.
           // Add the group id to the context to preserve sanity.
           $context= [[#variable484f8860]]
                    .  [[#variable484f8ac0]]
                    . '.';
           // Load the parameters.
           $this->setState('params',$params);
         }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#484f8ac0]]
$levelId 
12[[#484f8ac0]]
$groupId 
21[[#484f8a80]]
'com_users.edit.level.id' 
22[[#484f8a80]]
'com_users.edit.group.id' 
31[[#484f8940]]
'level_id' 
32[[#484f8940]]
'group_id' 
41[[#2246cf60]]
'level.id' 
42[[#2246cf60]]
'group.id' 
51[[#484f8860]]
'com_users.level.' 
52[[#484f8860]]
'com_users.group.'