CloneSet589


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15230.986class_member_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115112
components/com_contact/models/category.php
215134
components/com_contact/models/category.php
Clone Instance
1
Line Count
15
Source Line
112
Source File
components/com_contact/models/category.php

        /**
         * Gets a list of categories
         * @param array
         * @return array
         */
        function getCategories($options=array()) {

                $query=   $this->_getCatgoriesQuery($options);
                return $this->_getList($query, @$options['limitstart'], @$options['limit']);
              }

        /**
         * Gets the count of the categories for the given options
         * @param array
         * @return int
         */
        function getCategoryCount($options=array()) {

                $query=   $this->_getCatgoriesQuery($options);
                return $this->_getListCount($query);
              }


Clone Instance
2
Line Count
15
Source Line
134
Source File
components/com_contact/models/category.php

        /**
         * Gets a list of categories
         * @param array
         * @return array
         */
        function getContacts($options=array()) {

                $query=   $this->_getContactsQuery($options);
                return $this->_getList($query, @$options['limitstart'], @$options['limit']);
              }

        /**
         * Gets the count of the categories for the given options
         * @param array
         * @return int
         */
        function getContactCount($options=array()) {

                $query=   $this->_getContactsQuery($options);
                return $this->_getListCount($query);
              }


Clone AbstractionParameter Count: 3Parameter Bindings

/**
         * Gets a list of categories
         * @param array
         * @return array
         */
function [[#variable24527360]]($options=array()) {
  $query=$this-> [[#variable523953e0]]($options);
  return $this->_getList($query,@$options['limitstart'],@$options['limit']);
}

/**
         * Gets the count of the categories for the given options
         * @param array
         * @return int
         */
function [[#variable24527300]]($options=array()) {
  $query=$this-> [[#variable523953e0]]($options);
  return $this->_getListCount($query);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#24527360]]
getCategories 
12[[#24527360]]
getContacts 
21[[#523953e0]]
_getCatgoriesQuery 
22[[#523953e0]]
_getContactsQuery 
31[[#24527300]]
getCategoryCount 
32[[#24527300]]
getContactCount