CloneSet614


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11250.950class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111228
libraries/joomla/cache/cache.php
211253
libraries/joomla/cache/cache.php
Clone Instance
1
Line Count
11
Source Line
228
Source File
libraries/joomla/cache/cache.php

        /**
         * Remove a cached data entry by id and group
         *
         * @abstract
         * @access      public
         * @param       string  $id             The cache data id
         * @param       string  $group  The cache data group
         * @return      boolean True on success, false otherwise
         * @since       1.5
         */
        function remove($id, $group=NULL) {

                // Get the default group
                $group=  ($group)
                         ?          $group
                         :                   $this->_options['defaultgroup'];
                // Get the storage handler
                $handler=  &$this->_getStorage();
                if (!JError::isError($handler)) {
                        return $handler->remove($id, $group);
                      }
                return FALSE;
              }


Clone Instance
2
Line Count
11
Source Line
253
Source File
libraries/joomla/cache/cache.php

        /**
         * Clean cache for a group given a mode.
         *
         * group mode           : cleans all cache in the group
         * notgroup mode        : cleans all cache not in the group
         *
         * @access      public
         * @param       string  $group  The cache data group
         * @param       string  $mode   The mode for cleaning cache [group|notgroup]
         * @return      boolean True on success, false otherwise
         * @since       1.5
         */
        function clean($group=NULL, $mode='group') {

                // Get the default group
                $group=  ($group)
                         ?          $group
                         :                   $this->_options['defaultgroup'];
                // Get the storage handler
                $handler=  &$this->_getStorage();
                if (!JError::isError($handler)) {
                        return $handler->clean($group, $mode);
                      }
                return FALSE;
              }


Clone AbstractionParameter Count: 5Parameter Bindings

/**
         * Clean cache for a group given a mode.
         *
         * group mode           : cleans all cache in the group
         * notgroup mode        : cleans all cache not in the group
         *
         * @access      public
         * @param       string  $group  The cache data group
         * @param       string  $mode   The mode for cleaning cache [group|notgroup]
         * @return      boolean True on success, false otherwise
         * @since       1.5
         */
/**
         * Remove a cached data entry by id and group
         *
         * @abstract
         * @access      public
         * @param       string  $id             The cache data id
         * @param       string  $group  The cache data group
         * @return      boolean True on success, false otherwise
         * @since       1.5
         */
function [[#variable525661e0]]( [[#variable52566160]], [[#variable525660e0]]= [[#variable52566040]]) {
  // Get the default group
  $group=($group)
         ? $group
         : $this->_options['defaultgroup'];
  // Get the storage handler
  $handler= &$this->_getStorage();
  if (!JError::isError($handler)) {
    return $handler-> [[#variable525661e0]]( [[#variable52527fa0]], [[#variable525660e0]]);
  }
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#525661e0]]
clean 
12[[#525661e0]]
remove 
21[[#52566160]]
$group=NULL 
22[[#52566160]]
$id 
31[[#525660e0]]
$mode 
32[[#525660e0]]
$group 
41[[#52566040]]
'group' 
42[[#52566040]]
NULL 
51[[#52527fa0]]
$group 
52[[#52527fa0]]
$id