Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.993 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 49 | administrator/components/com_config/controllers/application.php |
2 | 9 | 37 | libraries/joomla/html/parameter/element/editors.php |
| ||||
// PRE-PROCESS SOME LIST // -- Editors -- // compile list of the editors $query= 'SELECT element AS value, name AS text' . ' FROM #__extensions' . ' WHERE folder = "editors"' . ' AND type = "plugin"' . ' AND enabled = 1' . ' ORDER BY ordering, name'; $db->setQuery($query); $edits= $db->loadObjectList(); |
| ||||
// compile list of the editors $query= 'SELECT element AS value, name AS text' . ' FROM #__extensions' . ' WHERE folder = "editors"' . ' AND type = "plugin"' . ' AND enabled = 1' . ' ORDER BY ordering, name'; $db->setQuery($query); $editors= $db->loadObjectList(); |
| |||
// PRE-PROCESS SOME LIST // -- Editors -- // compile list of the editors $query='SELECT element AS value, name AS text' . ' FROM #__extensions' . ' WHERE folder = "editors"' . ' AND type = "plugin"' . ' AND enabled = 1' . ' ORDER BY ordering, name'; $db->setQuery($query); [[#variable1effbd60]]=$db->loadObjectList(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1effbd60]] | $edits |
1 | 2 | [[#1effbd60]] | $editors |