CloneSet252


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10530.985class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18150
administrator/components/com_cache/models/cache.php
210136
administrator/components/com_modules/models/modules.php
31097
administrator/components/com_templates/models/templates.php
410129
components/com_newsfeeds/models/category.php
510171
components/com_search/models/search.php
Clone Instance
1
Line Count
8
Source Line
150
Source File
administrator/components/com_cache/models/cache.php

        /**
         * Method to get a pagination object for the cache
         *
         * @access public
         * @return integer
         */
        public

               function getPagination() {

                if (empty($this->_pagination)) {
                        jimport('joomla.html.pagination');
                        $this->_pagination = new JPagination($this->getTotal(), $this->getState('list.start'), $this->getState('list.limit'));
                      }

                return $this->_pagination;
              }


Clone Instance
2
Line Count
10
Source Line
136
Source File
administrator/components/com_modules/models/modules.php

        /**
         * Method to get a pagination object for the Modules
         *
         * @access public
         * @return integer
         */
        function getPagination() {

                // Lets load the content if it doesn't already exist
                if (empty($this->_pagination))
                {
                        jimport('joomla.html.pagination');
                        $this->_pagination = new JPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit'));
                      }

                return $this->_pagination;
              }


Clone Instance
3
Line Count
10
Source Line
97
Source File
administrator/components/com_templates/models/templates.php

        /**
         * Method to get a pagination object for the Templates
         *
         * @access public
         * @return integer
         */
        function getPagination() {

                // Lets load the content if it doesn't already exist
                if (empty($this->_pagination))
                {
                        jimport('joomla.html.pagination');
                        $this->_pagination = new JPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit'));
                      }

                return $this->_pagination;
              }


Clone Instance
4
Line Count
10
Source Line
129
Source File
components/com_newsfeeds/models/category.php

        /**
         * Method to get a pagination object of the newsfeeds items for the category
         *
         * @access public
         * @return integer
         */
        function getPagination() {

                // Lets load the content if it doesn't already exist
                if (empty($this->_pagination))
                {
                        jimport('joomla.html.pagination');
                        $this->_pagination = new JPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit'));
                      }

                return $this->_pagination;
              }


Clone Instance
5
Line Count
10
Source Line
171
Source File
components/com_search/models/search.php

        /**
         * Method to get a pagination object of the weblink items for the category
         *
         * @access public
         * @return integer
         */
        function getPagination() {

                // Lets load the content if it doesn't already exist
                if (empty($this->_pagination))
                {
                        jimport('joomla.html.pagination');
                        $this->_pagination = new JPagination($this->getTotal(), $this->getState('limitstart'), $this->getState('limit'));
                      }

                return $this->_pagination;
              }


Clone AbstractionParameter Count: 3Parameter Bindings

 [[#variable58542440]]

/**
         * Method to get a pagination object of the weblink items for the category
         *
         * @access public
         * @return integer
         */
/**
         * Method to get a pagination object for the Templates
         *
         * @access public
         * @return integer
         */
/**
         * Method to get a pagination object for the Modules
         *
         * @access public
         * @return integer
         */
/**
         * Method to get a pagination object of the newsfeeds items for the category
         *
         * @access public
         * @return integer
         */
function getPagination() {
  // Lets load the content if it doesn't already exist
  if (empty($this->_pagination)) {
    jimport('joomla.html.pagination');
    $this->_pagination =new JPagination($this->getTotal(),$this->getState( [[#variable58542340]]),$this->getState( [[#variable58542360]]));
  }
  return $this->_pagination;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58542440]]
12[[#58542440]]
/**
 * Method to get a pagination object for the cache
 *
 * @access public
 * @return integer
 */
public 
13[[#58542440]]
14[[#58542440]]
15[[#58542440]]
21[[#58542340]]
'limitstart' 
22[[#58542340]]
'list.start' 
23[[#58542340]]
'limitstart' 
24[[#58542340]]
'limitstart' 
25[[#58542340]]
'limitstart' 
31[[#58542360]]
'limit' 
32[[#58542360]]
'list.limit' 
33[[#58542360]]
'limit' 
34[[#58542360]]
'limit' 
35[[#58542360]]
'limit'