CloneSet854


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.964if_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15434
libraries/joomla/database/table.php
27326
libraries/joomla/database/table/user.php
Clone Instance
1
Line Count
5
Source Line
434
Source File
libraries/joomla/database/table.php

                // If a primary key exists update the object, otherwise insert it.
                if ($this->$k) {
                        $stored=  $this->_db->updateObject($this->_tbl ,$this, $this->_tbl_key ,$updateNulls);
                      }
                else {
                        $stored=  $this->_db->insertObject($this->_tbl ,$this, $this->_tbl_key);
                      }


Clone Instance
2
Line Count
7
Source Line
326
Source File
libraries/joomla/database/table/user.php

                // Insert or update the object based on presence of a key value.
                if ($key) {
                        // Already have a table key, update the row.
                        $return=  $this->_db->updateObject($this->_tbl ,$this, $this->_tbl_key ,$updateNulls);
                      }
                else {
                        // Don't have a table key, insert the row.
                        $return=  $this->_db->insertObject($this->_tbl ,$this, $this->_tbl_key);
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

// Insert or update the object based on presence of a key value.
// If a primary key exists update the object, otherwise insert it.
if ( [[#variable3f78a5e0]]) {
   [[#variable3f78a600]]=$this->_db->updateObject($this->_tbl ,$this,$this->_tbl_key ,$updateNulls);
}
else {
   [[#variable3f78a600]]=$this->_db->insertObject($this->_tbl ,$this,$this->_tbl_key);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#3f78a5e0]]
$key 
12[[#3f78a5e0]]
$this->$k 
21[[#3f78a600]]
// Already have a table key, update the row.
$return 
22[[#3f78a600]]
$stored