CloneSet545


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
14230.970statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
114232
libraries/joomla/application/component/controller.php
21463
libraries/joomla/application/component/model.php
Clone Instance
1
Line Count
14
Source Line
232
Source File
libraries/joomla/application/component/controller.php

                //set the view name
                if (empty($this->_name))
                {
                        if (array_key_exists('name', $config))  {
                                $this->_name = $config['name'];
                              }
                        else   {
                                $this->_name = $this->getName();
                              }
                      }
                // Set a base path for use by the controller
                if (array_key_exists('base_path', $config)) {
                        $this->_basePath =        $config['base_path'];
                      }
                else   {
                        $this->_basePath =        JPATH_COMPONENT;
                      }


Clone Instance
2
Line Count
14
Source Line
63
Source File
libraries/joomla/application/component/model.php

                //set the view name
                if (empty($this->_name))
                {
                        if (array_key_exists('name', $config))  {
                                $this->_name = $config['name'];
                              }
                        else   {
                                $this->_name = $this->getName();
                              }
                      }
                //set the model state
                if (array_key_exists('state', $config))  {
                        $this->_state = $config['state'];
                      }
                else   {
                        $this->_state = new JObject();
                      }


Clone AbstractionParameter Count: 3Parameter Bindings

//set the view name
if (empty($this->_name)) {
  if (array_key_exists('name',$config)) {
    $this->_name =$config['name'];
  }
  else {
    $this->_name =$this->getName();
  }
}
//set the model state
// Set a base path for use by the controller
if (array_key_exists( [[#variable237f44e0]],$config)) {
  $this-> [[#variable237f44a0]]=$config[ [[#variable237f44e0]]];
}
else {
  $this-> [[#variable237f44a0]]= [[#variable237f4440]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#237f44e0]]
'state' 
12[[#237f44e0]]
'base_path' 
21[[#237f44a0]]
_state 
22[[#237f44a0]]
_basePath 
31[[#237f4440]]
new JObject() 
32[[#237f4440]]
JPATH_COMPONENT