CloneSet419


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14220.995statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114169
libraries/joomla/html/pane.php
214272
libraries/joomla/html/pane.php
Clone Instance
1
Line Count
14
Source Line
169
Source File
libraries/joomla/html/pane.php

                foreach ($opt as $k => $v)
                {
                        if ($v) {
                                $options.=  $k
                                            .  ': '
                                            .       $v
                                            .          ',';
                              }
                      }
                if (substr($options, -1) == ',') {
                        $options=  substr($options, 0, -1);
                      }
                $options.=  '}';
                $js=  "\t\twindow.addEvent('domready', function(){ \$\$('dl.tabs').each(function(tabs){ new JTabs(tabs, "
                      .                                                                                                          $options
                      .                                                                                                                   '); }); });';
                $document->addScriptDeclaration($js);


Clone Instance
2
Line Count
14
Source Line
272
Source File
libraries/joomla/html/pane.php

                foreach ($opt as $k => $v)
                {
                        if ($v) {
                                $options.=  $k
                                            .  ': '
                                            .       $v
                                            .          ',';
                              }
                      }
                if (substr($options, -1) == ',') {
                        $options=  substr($options, 0, -1);
                      }
                $options.=  '}';
                $js=  "\t\twindow.addEvent('domready', function(){ new Accordion(\$\$('.panel h3.jpane-toggler'), \$\$('.panel div.jpane-slider'), "
                      .                                                                                                                                     $options
                      .                                                                                                                                              '); });';
                $document->addScriptDeclaration($js);


Clone AbstractionParameter Count: 2Parameter Bindings

foreach ($opt as $k => $v) {
  if ($v) {
    $options.=$k
              . ': '
              . $v
              . ',';
  }
}
if (substr($options,-1) == ',') {
  $options=substr($options,0,-1);
}
$options.='}';
$js= [[#variable4828b8a0]]
    . $options
    .  [[#variable4828b880]];
$document->addScriptDeclaration($js);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4828b8a0]]
"\t\twindow.addEvent('domready', function(){ new Accordion(\$\$('.panel h3.jpane-toggler'), \$\$('.panel div.jpane-slider'), " 
12[[#4828b8a0]]
"\t\twindow.addEvent('domready', function(){ \$\$('dl.tabs').each(function(tabs){ new JTabs(tabs, " 
21[[#4828b880]]
'); });' 
22[[#4828b880]]
'); }); });'