CloneSet192


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13660.973toplevel_statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11412
plugins/search/categories.php
21412
plugins/search/contacts.php
31412
plugins/search/content.php
41412
plugins/search/newsfeeds.php
51312
plugins/search/sections.php
61312
plugins/search/weblinks.php
Clone Instance
1
Line Count
14
Source Line
12
Source File
plugins/search/categories.php

$mainframe->registerEvent('onSearch', 'plgSearchCategories');
$mainframe->registerEvent('onSearchAreas', 'plgSearchCategoryAreas');

JPlugin::loadLanguage('plg_search_categories');

/**
 * @return array An array of search areas
 */
function &plgSearchCategoryAreas() {

        static $areas
               =        array(
                'categories' => 'Categories');
        return $areas;
      }


Clone Instance
2
Line Count
14
Source Line
12
Source File
plugins/search/contacts.php

$mainframe->registerEvent('onSearch', 'plgSearchContacts');
$mainframe->registerEvent('onSearchAreas', 'plgSearchContactAreas');

JPlugin::loadLanguage('plg_search_contacts');

/**
 * @return array An array of search areas
 */
function &plgSearchContactAreas() {

        static $areas
               =        array(
                'contacts' => 'Contacts');
        return $areas;
      }


Clone Instance
3
Line Count
14
Source Line
12
Source File
plugins/search/content.php

$mainframe->registerEvent('onSearch', 'plgSearchContent');
$mainframe->registerEvent('onSearchAreas', 'plgSearchContentAreas');

JPlugin::loadLanguage('plg_search_content');

/**
 * @return array An array of search areas
 */
function &plgSearchContentAreas() {

        static $areas
               =        array(
                'content' => 'Articles');
        return $areas;
      }


Clone Instance
4
Line Count
14
Source Line
12
Source File
plugins/search/newsfeeds.php

$mainframe->registerEvent('onSearch', 'plgSearchNewsfeedslinks');
$mainframe->registerEvent('onSearchAreas', 'plgSearchNewsfeedAreas');

JPlugin::loadLanguage('plg_search_newsfeeds');

/**
 * @return array An array of search areas
 */
function &plgSearchNewsfeedAreas() {

        static $areas
               =        array(
                'newsfeeds' => 'Newsfeeds');
        return $areas;
      }


Clone Instance
5
Line Count
13
Source Line
12
Source File
plugins/search/sections.php

$mainframe->registerEvent('onSearch', 'plgSearchSections');
$mainframe->registerEvent('onSearchAreas', 'plgSearchSectionAreas');

JPlugin::loadLanguage('plg_search_sections');

/**
 * @return array An array of search areas
 */
function &plgSearchSectionAreas() {
        static $areas
               =        array(
                'sections' => 'Sections');
        return $areas;
      }


Clone Instance
6
Line Count
13
Source Line
12
Source File
plugins/search/weblinks.php

$mainframe->registerEvent('onSearch', 'plgSearchWeblinks');
$mainframe->registerEvent('onSearchAreas', 'plgSearchWeblinksAreas');

JPlugin::loadLanguage('plg_search_weblinks');

/**
 * @return array An array of search areas
 */
function &plgSearchWeblinksAreas() {
        static $areas
               =        array(
                'weblinks' => 'Weblinks');
        return $areas;
      }


Clone AbstractionParameter Count: 6Parameter Bindings

$mainframe->registerEvent('onSearch', [[#variable4daa2c60]]);
$mainframe->registerEvent('onSearchAreas', [[#variable4daa2be0]]);
JPlugin::loadLanguage( [[#variable4daa2b80]]);

/**
 * @return array An array of search areas
 */
function & [[#variable4daa2b00]]() {
  static $areas
         =
         array( [[#variable4daa2a60]]=> [[#variable4daa29e0]]);
  return $areas;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4daa2c60]]
'plgSearchWeblinks' 
12[[#4daa2c60]]
'plgSearchSections' 
13[[#4daa2c60]]
'plgSearchNewsfeedslinks' 
14[[#4daa2c60]]
'plgSearchContent' 
15[[#4daa2c60]]
'plgSearchContacts' 
16[[#4daa2c60]]
'plgSearchCategories' 
21[[#4daa2be0]]
'plgSearchWeblinksAreas' 
22[[#4daa2be0]]
'plgSearchSectionAreas' 
23[[#4daa2be0]]
'plgSearchNewsfeedAreas' 
24[[#4daa2be0]]
'plgSearchContentAreas' 
25[[#4daa2be0]]
'plgSearchContactAreas' 
26[[#4daa2be0]]
'plgSearchCategoryAreas' 
31[[#4daa2b80]]
'plg_search_weblinks' 
32[[#4daa2b80]]
'plg_search_sections' 
33[[#4daa2b80]]
'plg_search_newsfeeds' 
34[[#4daa2b80]]
'plg_search_content' 
35[[#4daa2b80]]
'plg_search_contacts' 
36[[#4daa2b80]]
'plg_search_categories' 
41[[#4daa2b00]]
plgSearchWeblinksAreas 
42[[#4daa2b00]]
plgSearchSectionAreas 
43[[#4daa2b00]]
plgSearchNewsfeedAreas 
44[[#4daa2b00]]
plgSearchContentAreas 
45[[#4daa2b00]]
plgSearchContactAreas 
46[[#4daa2b00]]
plgSearchCategoryAreas 
51[[#4daa2a60]]
'weblinks' 
52[[#4daa2a60]]
'sections' 
53[[#4daa2a60]]
'newsfeeds' 
54[[#4daa2a60]]
'content' 
55[[#4daa2a60]]
'contacts' 
56[[#4daa2a60]]
'categories' 
61[[#4daa29e0]]
'Weblinks' 
62[[#4daa29e0]]
'Sections' 
63[[#4daa29e0]]
'Newsfeeds' 
64[[#4daa29e0]]
'Articles' 
65[[#4daa29e0]]
'Contacts' 
66[[#4daa29e0]]
'Categories'