CloneSet425


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
49330.978class_member_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14695
libraries/joomla/database/table/category.php
246193
libraries/joomla/database/table/content.php
34961
libraries/joomla/database/table/module.php
Clone Instance
1
Line Count
46
Source Line
95
Source File
libraries/joomla/database/table/category.php

        /**
         *  @var boolean
         */
        protected $_trackAssets=          TRUE;

        /**
        * @param database A database connector object
        */
        function __construct( &$db) {

                parent:: __construct('#__categories', 'id', $db);

                $this->access =   (int) JFactory::getConfig()->getValue('access');
              }

        /**
         * Method to return the access section name for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetSection() {

                return $this->extension;
              }

        /**
         * Method to return the name prefix to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetNamePrefix() {

                return 'category';
              }

        /**
         * Method to return the title to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.0
         */
        function getAssetTitle() {

                return $this->title;
              }


Clone Instance
2
Line Count
46
Source Line
193
Source File
libraries/joomla/database/table/content.php

        /**
         * Track rows as assets.
         *
         * @var         boolean
         * @since       1.6
         */
        protected $_trackAssets=  TRUE;

        /**
        * @param database A database connector object
        */
        function __construct( &$db) {

                parent:: __construct('#__content', 'id', $db);

                $this->access =   (int) JFactory::getConfig()->getValue('access');
              }

        /**
         * Method to return the access section name for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetSection() {

                return 'com_content';
              }

        /**
         * Method to return the name prefix to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetNamePrefix() {

                return 'article';
              }

        /**
         * Method to return the title to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.0
         */
        function getAssetTitle() {

                return $this->title;
              }


Clone Instance
3
Line Count
49
Source Line
61
Source File
libraries/joomla/database/table/module.php

        /**
         * Track rows as assets.
         *
         * @var         boolean
         * @since       1.6
         */
        protected $_trackAssets=  TRUE;

        /**
         * Contructore
         *
         * @access protected
         * @param database A database connector object
         */
        function __construct( &$db) {

                parent:: __construct('#__modules', 'id', $db);

                $this->access =   (int) JFactory::getConfig()->getValue('access');
              }

        /**
         * Method to return the access section name for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetSection() {

                return 'core';
              }

        /**
         * Method to return the name prefix to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
        function getAssetNamePrefix() {

                return 'module';
              }

        /**
         * Method to return the title to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.0
         */
        function getAssetTitle() {

                return $this->title;
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Track rows as assets.
         *
         * @var         boolean
         * @since       1.6
         */
/**
         *  @var boolean
         */
protected $_trackAssets=TRUE;

/**
         * Contructore
         *
         * @access protected
         * @param database A database connector object
         */
/**
        * @param database A database connector object
        */
function __construct( &$db) {
  parent:: __construct( [[#variable50f18460]],'id',$db);
  $this->access = (int) JFactory::getConfig()->getValue('access');
}

/**
         * Method to return the access section name for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
function getAssetSection() {
  return [[#variable484f8fe0]];
}

/**
         * Method to return the name prefix to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.6
         */
function getAssetNamePrefix() {
  return [[#variable4c1309e0]];
}

/**
         * Method to return the title to use for the asset table.
         *
         * @access      public
         * @return      string
         * @since       1.0
         */
function getAssetTitle() {
  return $this->title;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#50f18460]]
'#__modules' 
12[[#50f18460]]
'#__content' 
13[[#50f18460]]
'#__categories' 
21[[#484f8fe0]]
'core' 
22[[#484f8fe0]]
'com_content' 
23[[#484f8fe0]]
$this->extension 
31[[#4c1309e0]]
'module' 
32[[#4c1309e0]]
'article' 
33[[#4c1309e0]]
'category'