CloneSet1232


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4201.000class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14205
libraries/joomla/cache/storage/memcache.php
24132
libraries/joomla/cache/storage/xcache.php
Clone Instance
1
Line Count
4
Source Line
205
Source File
libraries/joomla/cache/storage/memcache.php

        /**
         * Get a cache_id string from an id/group pair
         *
         * @access      private
         * @param       string  $id             The cache data id
         * @param       string  $group  The cache data group
         * @return      string  The cache_id string
         * @since       1.5
         */
        function _getCacheId($id, $group) {

                $name=    md5($this->_application
                              .                   '-'
                              .                       $id
                              .                           '-'
                              .                               $this->_hash
                              .                                            '-'
                              .                                                $this->_language);
                return 'cache_'
                       .        $group
                       .               '-'
                       .                   $name;
              }


Clone Instance
2
Line Count
4
Source Line
132
Source File
libraries/joomla/cache/storage/xcache.php

        /**
         * Get a cache_id string from an id/group pair
         *
         * @access      private
         * @param       string  $id             The cache data id
         * @param       string  $group  The cache data group
         * @return      string  The cache_id string
         * @since       1.5
         */
        function _getCacheId($id, $group) {

                $name=    md5($this->_application
                              .                   '-'
                              .                       $id
                              .                           '-'
                              .                               $this->_hash
                              .                                            '-'
                              .                                                $this->_language);
                return 'cache_'
                       .        $group
                       .               '-'
                       .                   $name;
              }


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * Get a cache_id string from an id/group pair
         *
         * @access      private
         * @param       string  $id             The cache data id
         * @param       string  $group  The cache data group
         * @return      string  The cache_id string
         * @since       1.5
         */
function _getCacheId($id,$group) {
  $name=md5($this->_application
            . '-'
            . $id
            . '-'
            . $this->_hash
            . '-'
            . $this->_language);
  return 'cache_'
         . $group
         . '-'
         . $name;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None