Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 0 | 1.000 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 646 | libraries/joomla/access/helper.php |
2 | 12 | 976 | libraries/joomla/access/helper.php |
| ||||
$sectionId= JAccessHelper::getSectionId($section); // If the section does not exist, throw an exception. if (empty($sectionId)) { return new JException(JText::_('Access_Section_Invalid')); } // Get a database object. $db= &JFactory::getDbo(); |
| ||||
// Check we have a valid section, get the id $sectionId= JAccessHelper::getSectionId($section); // If the section does not exist, throw an exception. if (empty($sectionId)) { return new JException(JText::_('Access_Section_Invalid')); } // // Get the existing assets. // $db= &JFactory::getDbo(); |
| |||
// Check we have a valid section, get the id $sectionId=JAccessHelper::getSectionId($section); // If the section does not exist, throw an exception. if (empty($sectionId)) { return new JException(JText::_('Access_Section_Invalid')); } // // Get the existing assets. // // Get a database object. $db= &JFactory::getDbo(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |