CloneSet1086


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21230.973class_member_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12185
libraries/joomla/installer/installer.php
22030
libraries/joomla/updater/updater.php
Clone Instance
1
Line Count
21
Source Line
85
Source File
libraries/joomla/installer/installer.php

        /**
         * Constructor
         *
         * @access protected
         */
        public

               function __construct() {

                parent:: __construct(dirname( __FILE__),'JInstaller');
              }
        /**
         * Returns a reference to the global Installer object, only creating it
         * if it doesn't already exist.
         *
         * @static
         * @return      object  An installer object
         * @since 1.5
         */
        public static

                      function &getInstance() {

                static $instance;

                if (! isset ($instance)) {
                        $instance=  new JInstaller();
                      }
                return $instance;
              }


Clone Instance
2
Line Count
20
Source Line
30
Source File
libraries/joomla/updater/updater.php

        /**
         * Constructor
         */
        public

               function __construct() {
                // adapter base path, class prefix
                parent:: __construct(dirname( __FILE__),'JUpdater');
              }
        /**
         * Returns a reference to the global Installer object, only creating it
         * if it doesn't already exist.
         *
         * @static
         * @return      object  An installer object
         */
        public

               function &getInstance() {

                static $instance;

                if (! isset ($instance)) {
                        $instance=  new JUpdater();
                      }
                return $instance;
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Constructor
         *
         * @access protected
         */
/**
         * Constructor
         */
public

      function __construct() {
        // adapter base path, class prefix
        parent:: __construct(dirname( __FILE__), [[#variable460714e0]]);
      }
 [[#variable46071460]]

       function &getInstance() {
         static $instance;
         if (! isset ($instance)) {
           $instance=new [[#variable460713c0]]();
         }
         return $instance;
       }
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#460714e0]]
'JInstaller' 
12[[#460714e0]]
'JUpdater' 
21[[#46071460]]
/**
 * Returns a reference to the global Installer object, only creating it
 * if it doesn't already exist.
 *
 * @static
 * @return      object  An installer object
 * @since 1.5
 */
public static 
22[[#46071460]]
/**
 * Returns a reference to the global Installer object, only creating it
 * if it doesn't already exist.
 *
 * @static
 * @return      object  An installer object
 */
public 
31[[#460713c0]]
JInstaller 
32[[#460713c0]]
JUpdater