CloneSet87


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
28310.957statement_sequence[12]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
13048
libraries/joomla/installer/adapters/component.php
228419
libraries/joomla/installer/adapters/component.php
3281299
libraries/joomla/installer/adapters/component.php
Clone Instance
1
Line Count
30
Source Line
48
Source File
libraries/joomla/installer/adapters/component.php

                // Get the extension manifest object
                $manifest=  &$this->parent->getManifest();
                $this->manifest = &$manifest->document;


                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */

                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $element=  strtolower('com_'
                                      .      JFilterInput::clean($name->data(), 'cmd'));
                $name=  $name->data();
                $this->set('element', $element);
                $this->set('name', $name);

                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');
                if ($description instanceof JSimpleXMLElement) {
                        $this->parent->set('message', $description->data());
                      }
                else   {
                        $this->parent->set('message', '');
                      }
                // Get some important manifest elements
                $this->adminElement =             &$this->manifest->getElementByPath('administration');
                $this->installElement =   &$this->manifest->getElementByPath('install');
                $this->uninstallElement = &$this->manifest->getElementByPath('uninstall');


Clone Instance
2
Line Count
28
Source Line
419
Source File
libraries/joomla/installer/adapters/component.php

                // Get the extension manifest object
                $manifest=  &$this->parent->getManifest();
                $this->manifest = &$manifest->document;

                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */

                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $element=  strtolower('com_'
                                      .      JFilterInput::clean($name->data(), 'cmd'));
                $name=  $name->data();
                $this->set('element', $element);
                $this->set('name', $name);
                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');
                if (is_a($description, 'JSimpleXMLElement')) {
                        $this->parent->set('message', $description->data());
                      }
                else   {
                        $this->parent->set('message', '');
                      }
                // Get some important manifest elements
                $this->adminElement =             &$this->manifest->getElementByPath('administration');
                $this->installElement =   &$this->manifest->getElementByPath('install');
                $this->uninstallElement = &$this->manifest->getElementByPath('uninstall');


Clone Instance
3
Line Count
28
Source Line
1299
Source File
libraries/joomla/installer/adapters/component.php

                // Get the extension manifest object
                $manifest=  &$this->parent->getManifest();
                $this->manifest = &$manifest->document;

                /**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */

                // Set the extensions name
                $name=  &$this->manifest->getElementByPath('name');
                $element=  strtolower('com_'
                                      .      JFilterInput::clean($name->data(), 'cmd'));
                $name=  $name->data();
                $this->set('element', $element);
                $this->set('name', $name);
                // Get the component description
                $description=  & $this->manifest->getElementByPath('description');
                if (is_a($description, 'JSimpleXMLElement')) {
                        $this->parent->set('message', $description->data());
                      }
                else   {
                        $this->parent->set('message', '');
                      }
                // Get some important manifest elements
                $this->adminElement =             &$this->manifest->getElementByPath('administration');
                $this->installElement =   &$this->manifest->getElementByPath('install');
                $this->uninstallElement = &$this->manifest->getElementByPath('uninstall');


Clone AbstractionParameter Count: 1Parameter Bindings

// Get the extension manifest object
$manifest= &$this->parent->getManifest();
$this->manifest = &$manifest->document;
/**
                 * ---------------------------------------------------------------------------------------------
                 * Manifest Document Setup Section
                 * ---------------------------------------------------------------------------------------------
                 */
// Set the extensions name
$name= &$this->manifest->getElementByPath('name');
$element=strtolower('com_'
                    . JFilterInput::clean($name->data(),'cmd'));
$name=$name->data();
$this->set('element',$element);
$this->set('name',$name);
// Get the component description
$description= &$this->manifest->getElementByPath('description');
if ( [[#variable58674dc0]]) {
  $this->parent->set('message',$description->data());
}
else {
  $this->parent->set('message','');
}
// Get some important manifest elements
$this->adminElement = &$this->manifest->getElementByPath('administration');
$this->installElement = &$this->manifest->getElementByPath('install');
$this->uninstallElement = &$this->manifest->getElementByPath('uninstall');
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58674dc0]]
is_a($description,'JSimpleXMLElement') 
12[[#58674dc0]]
$description instanceof JSimpleXMLElement 
13[[#58674dc0]]
is_a($description,'JSimpleXMLElement')