CloneSet1400


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.969statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15152
administrator/components/com_modules/models/module.php
25159
administrator/components/com_modules/models/module.php
Clone Instance
1
Line Count
5
Source Line
152
Source File
administrator/components/com_modules/models/module.php

                // template assignment filter
                $query=  'SELECT DISTINCT template'
                         .      ' FROM #__menu_template'
                         .      ' WHERE client_id = '
                         .                            (int) $this->_client->id;
                $this->_db->setQuery($query);
                $templates=  $this->_db->loadObjectList();


Clone Instance
2
Line Count
5
Source Line
159
Source File
administrator/components/com_modules/models/module.php

                // Get a list of all module positions as set in the database
                $query=  'SELECT DISTINCT(position)'
                         .      ' FROM #__modules'
                         .      ' WHERE client_id = '
                         .                            (int) $this->_client->id;
                $this->_db->setQuery($query);
                $positions=  $this->_db->loadResultArray();


Clone AbstractionParameter Count: 4Parameter Bindings

// Get a list of all module positions as set in the database
// template assignment filter
$query= [[#variable52645700]]
       .  [[#variable526456c0]]
       . ' WHERE client_id = '
       . (int) $this->_client->id;
$this->_db->setQuery($query);
 [[#variable526440e0]]=$this->_db-> [[#variable524c5a80]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52645700]]
'SELECT DISTINCT(position)' 
12[[#52645700]]
'SELECT DISTINCT template' 
21[[#526456c0]]
' FROM #__modules' 
22[[#526456c0]]
' FROM #__menu_template' 
31[[#526440e0]]
$positions 
32[[#526440e0]]
$templates 
41[[#524c5a80]]
loadResultArray 
42[[#524c5a80]]
loadObjectList