CloneSet399


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31330.988root
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1311
components/com_content/helpers/category.php
2311
components/com_newsfeeds/helpers/category.php
3311
components/com_weblinks/helpers/category.php
Clone Instance
1
Line Count
31
Source Line
1
Source File
components/com_content/helpers/category.php

<?php
/**
 * @version             $Id: category.php 12274 2009-06-22 01:33:26Z eddieajau $
 * @package             Joomla
 * @subpackage  com_content
 * @copyright   Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 */

// no direct access
defined( "_JEXEC") or exit;

// Component Helper
jimport('joomla.application.component.helper');
jimport('joomla.application.categories');

/**
 * Content Component Category Tree
 *
 * @static
 * @package             Joomla
 * @subpackage  com_content
 * @since 1.6
 */
class ContentCategories extends JCategories {

        public

               function __construct($options=  array()) {

                $options['table']=  '#__content';
                $options['extension']=  'com_content';
                parent:: __construct($options);
              }
      }
?>


Clone Instance
2
Line Count
31
Source Line
1
Source File
components/com_newsfeeds/helpers/category.php

<?php
/**
 * @version             $Id: category.php 12276 2009-06-22 01:54:01Z pasamio $
 * @package             Joomla
 * @subpackage  Content
 * @copyright   Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 */

// no direct access
defined( "_JEXEC") or exit;

// Component Helper
jimport('joomla.application.component.helper');
jimport('joomla.application.categories');

/**
 * Content Component Category Tree
 *
 * @static
 * @package             Joomla
 * @subpackage  Content
 * @since 1.6
 */
class NewsfeedsCategories extends JCategories {

        public

               function __construct($options=  array()) {

                $options['table']=  '#__newsfeeds';
                $options['extension']=  'com_newsfeeds';
                parent:: __construct($options);
              }
      }
?>


Clone Instance
3
Line Count
31
Source Line
1
Source File
components/com_weblinks/helpers/category.php

<?php
/**
 * @version             $Id: category.php 12276 2009-06-22 01:54:01Z pasamio $
 * @package             Joomla
 * @subpackage  Content
 * @copyright   Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 */

// no direct access
defined( "_JEXEC") or exit;

// Component Helper
jimport('joomla.application.component.helper');
jimport('joomla.application.categories');

/**
 * Content Component Category Tree
 *
 * @static
 * @package             Joomla
 * @subpackage  Content
 * @since 1.6
 */
class WeblinksCategories extends JCategories {

        public

               function __construct($options=  array()) {

                $options['table']=  '#__weblinks';
                $options['extension']=  'com_weblinks';
                parent:: __construct($options);
              }
      }
?>


Clone AbstractionParameter Count: 3Parameter Bindings

<?php
/**
 * @version             $Id: category.php 12274 2009-06-22 01:33:26Z eddieajau $
 * @package             Joomla
 * @subpackage  com_content
 * @copyright   Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 */
/**
 * @version             $Id: category.php 12276 2009-06-22 01:54:01Z pasamio $
 * @package             Joomla
 * @subpackage  Content
 * @copyright   Copyright (C) 2005 - 2009 Open Source Matters, Inc. All rights reserved.
 * @license             GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
 */
// no direct access
defined( "_JEXEC") or exit;
// Component Helper
jimport('joomla.application.component.helper');
jimport('joomla.application.categories');

/**
 * Content Component Category Tree
 *
 * @static
 * @package             Joomla
 * @subpackage  com_content
 * @since 1.6
 */
/**
 * Content Component Category Tree
 *
 * @static
 * @package             Joomla
 * @subpackage  Content
 * @since 1.6
 */
class [[#variable22f4fae0]]extends JCategories {
  public

        function __construct($options=array()) {
          $options['table']= [[#variable22f4fa40]];
          $options['extension']= [[#variable22f4f9c0]];
          parent:: __construct($options);
        }
}
?>
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#22f4fae0]]
ContentCategories 
12[[#22f4fae0]]
NewsfeedsCategories 
13[[#22f4fae0]]
WeblinksCategories 
21[[#22f4fa40]]
'#__content' 
22[[#22f4fa40]]
'#__newsfeeds' 
23[[#22f4fa40]]
'#__weblinks' 
31[[#22f4f9c0]]
'com_content' 
32[[#22f4f9c0]]
'com_newsfeeds' 
33[[#22f4f9c0]]
'com_weblinks'