Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
49 | 3 | 3 | 0.978 | class_member_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 46 | 95 | libraries/joomla/database/table/category.php |
2 | 46 | 193 | libraries/joomla/database/table/content.php |
3 | 49 | 61 | libraries/joomla/database/table/module.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; } |
| ||||
/** * 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; } |
| ||||
/** * 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; } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#50f18460]] | '#__modules' |
1 | 2 | [[#50f18460]] | '#__content' |
1 | 3 | [[#50f18460]] | '#__categories' |
2 | 1 | [[#484f8fe0]] | 'core' |
2 | 2 | [[#484f8fe0]] | 'com_content' |
2 | 3 | [[#484f8fe0]] | $this->extension |
3 | 1 | [[#4c1309e0]] | 'module' |
3 | 2 | [[#4c1309e0]] | 'article' |
3 | 3 | [[#4c1309e0]] | 'category' |