Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
14 | 3 | 0 | 1.000 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 14 | 1147 | libraries/joomla/database/table.php |
2 | 14 | 385 | libraries/joomla/database/table/content.php |
3 | 14 | 798 | libraries/joomla/database/tablenested.php |
| ||||
// Sanitize input. JArrayHelper::toInteger($pks); $userId= (int) $userId; $state= (int) $state; // If there are no primary keys set check to see if the instance key is set. if (empty($pks)) { if ($this->$k) { $pks= array($this->$k); } // Nothing to set publishing state on, return false. else { $this->setError(JText::_('No_Rows_Selected')); return FALSE; } } |
| ||||
// Sanitize input. JArrayHelper::toInteger($pks); $userId= (int) $userId; $state= (int) $state; // If there are no primary keys set check to see if the instance key is set. if (empty($pks)) { if ($this->$k) { $pks= array($this->$k); } // Nothing to set publishing state on, return false. else { $this->setError(JText::_('No_Rows_Selected')); return FALSE; } } |
| ||||
// Sanitize input. JArrayHelper::toInteger($pks); $userId= (int) $userId; $state= (int) $state; // If there are no primary keys set check to see if the instance key is set. if (empty($pks)) { if ($this->$k) { $pks= array($this->$k); } // Nothing to set publishing state on, return false. else { $this->setError(JText::_('No_Rows_Selected')); return FALSE; } } |
| |||
// Sanitize input. JArrayHelper::toInteger($pks); $userId= (int) $userId; $state= (int) $state; // If there are no primary keys set check to see if the instance key is set. if (empty($pks)) { if ($this->$k) { $pks=array($this->$k); } // Nothing to set publishing state on, return false. else { $this->setError(JText::_('No_Rows_Selected')); return FALSE; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |