CloneSet1182


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.963class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19128
libraries/joomla/installer/installer.php
29159
libraries/joomla/installer/installer.php
Clone Instance
1
Line Count
9
Source Line
128
Source File
libraries/joomla/installer/installer.php

        /**
         * Set the allow overwrite switch
         *
         * @access      public
         * @param       boolean $state  Overwrite switch state
         * @return      boolean Previous value
         * @since       1.5
         */
        public

               function setOverwrite($state=FALSE) {

                $tmp=  $this->_overwrite;
                if ($state) {
                        $this->_overwrite = TRUE;
                      }
                else   {
                        $this->_overwrite = FALSE;
                      }
                return $tmp;
              }


Clone Instance
2
Line Count
9
Source Line
159
Source File
libraries/joomla/installer/installer.php

        /**
         * Set the allow overwrite switch
         *
         * @access      public
         * @param       boolean $state  Overwrite switch state
         * @return      boolean Previous value
         * @since       1.5
         */
        function setUpgrade($state=FALSE) {

                $tmp=  $this->_upgrade;
                if ($state) {
                        $this->_upgrade = TRUE;
                      }
                else   {
                        $this->_upgrade = FALSE;
                      }
                return $tmp;
              }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable23e7eea0]]

/**
         * Set the allow overwrite switch
         *
         * @access      public
         * @param       boolean $state  Overwrite switch state
         * @return      boolean Previous value
         * @since       1.5
         */
function [[#variable23e7ee00]]($state=FALSE) {
  $tmp=$this-> [[#variable23e7ed20]];
  if ($state) {
    $this-> [[#variable23e7ed20]]=TRUE;
  }
  else {
    $this-> [[#variable23e7ed20]]=FALSE;
  }
  return $tmp;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#23e7eea0]]
/**
 * Set the allow overwrite switch
 *
 * @access      public
 * @param       boolean $state  Overwrite switch state
 * @return      boolean Previous value
 * @since       1.5
 */
public 
12[[#23e7eea0]]
21[[#23e7ee00]]
setOverwrite 
22[[#23e7ee00]]
setUpgrade 
31[[#23e7ed20]]
_overwrite 
32[[#23e7ed20]]
_upgrade