CloneSet861


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6310.973statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16230
libraries/joomla/database/tablenested.php
26942
libraries/joomla/database/tablenested.php
361028
libraries/joomla/database/tablenested.php
Clone Instance
1
Line Count
6
Source Line
230
Source File
libraries/joomla/database/tablenested.php

                // Get the ids of child nodes.
                $this->_db->setQuery(
                        'SELECT `'
                        .          $k
                        .             '`'
                        . ' FROM `'
                        .         $this->_tbl
                        .                     '`'
                        . ' WHERE `lft` BETWEEN '
                        .                       (int) $node->lft
                        .                                        ' AND '
                        .                                                (int) $node->rgt);
                $children=  $this->_db->loadResultArray();


Clone Instance
2
Line Count
6
Source Line
942
Source File
libraries/joomla/database/tablenested.php

                // Get the primary keys of child nodes.
                $this->_db->setQuery(
                        'SELECT `'
                        .          $this->_tbl_key
                        .                          '`'
                        . ' FROM `'
                        .         $this->_tbl
                        .                     '`'
                        . ' WHERE `lft` BETWEEN '
                        .                       (int) $node->lft
                        .                                        ' AND '
                        .                                                (int) $node->rgt);
                $children=  $this->_db->loadResultArray();


Clone Instance
3
Line Count
6
Source Line
1028
Source File
libraries/joomla/database/tablenested.php

                // Get the primary keys of child nodes.
                $this->_db->setQuery(
                        'SELECT `'
                        .          $this->_tbl_key
                        .                          '`'
                        . ' FROM `'
                        .         $this->_tbl
                        .                     '`'
                        . ' WHERE `lft` BETWEEN '
                        .                       (int) $node->lft
                        .                                        ' AND '
                        .                                                (int) $node->rgt);
                $children=  $this->_db->loadResultArray();


Clone AbstractionParameter Count: 1Parameter Bindings

// Get the primary keys of child nodes.
// Get the ids of child nodes.
$this->_db->setQuery('SELECT `'
                     .  [[#variable3c3b1780]]
                     . '`'
                     . ' FROM `'
                     . $this->_tbl
                     . '`'
                     . ' WHERE `lft` BETWEEN '
                     . (int) $node->lft
                     . ' AND '
                     . (int) $node->rgt);
$children=$this->_db->loadResultArray();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3c3b1780]]
$this->_tbl_key 
12[[#3c3b1780]]
$k 
13[[#3c3b1780]]
$this->_tbl_key