CloneSet1053


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
29201.000class_member_list[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12968
administrator/components/com_modules/models/module.php
22987
administrator/components/com_templates/models/template.php
Clone Instance
1
Line Count
29
Source Line
68
Source File
administrator/components/com_modules/models/module.php

        /**
         * Method to set the module identifier
         *
         * @access      public
         * @param       int module identifier
         */
        function setId($id) {

                // Set module id and wipe data
                $this->_id =              $id;
                $this->_data =    NULL;
              }

        /**
         * Method to get a module
         *
         * @since 1.6
         */
        function &getData() {

                // Load the data
                if (!$this->_loadData())
                        $this->_initData();

                return $this->_data;
              }

        /**
         * Method to get the client object
         *
         * @since 1.6
         */
        function &getClient() {

                return $this->_client;
              }


Clone Instance
2
Line Count
29
Source Line
87
Source File
administrator/components/com_templates/models/template.php

        /**
         * Method to set the Template identifier
         *
         * @access      public
         * @param       int Template identifier
         */
        function setId($id) {

                // Set Template id and wipe data
                $this->_id =              $id;
                $this->_data =    NULL;
              }

        /**
         * Method to get a Template
         *
         * @since 1.6
         */
        function &getData() {

                // Load the data
                if (!$this->_loadData())
                        $this->_initData();

                return $this->_data;
              }

        /**
         * Method to get the client object
         *
         * @since 1.6
         */
        function &getClient() {

                return $this->_client;
              }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Method to set the module identifier
         *
         * @access      public
         * @param       int module identifier
         */
/**
         * Method to set the Template identifier
         *
         * @access      public
         * @param       int Template identifier
         */
function setId($id) {
  // Set module id and wipe data
  // Set Template id and wipe data
  $this->_id =$id;
  $this->_data =NULL;
}

/**
         * Method to get a module
         *
         * @since 1.6
         */
/**
         * Method to get a Template
         *
         * @since 1.6
         */
function &getData() {
  // Load the data
  if (!$this->_loadData())
    $this->_initData();
  return $this->_data;
}

/**
         * Method to get the client object
         *
         * @since 1.6
         */
function &getClient() {
  return $this->_client;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None