CloneSet83


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
31310.994statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14164
administrator/components/com_categories/models/categories.php
24165
administrator/components/com_content/models/articles.php
3489
administrator/components/com_content/models/featured.php
44187
administrator/components/com_menus/models/items.php
5459
administrator/components/com_menus/models/menus.php
6466
administrator/components/com_redirect/models/links.php
7486
administrator/components/com_users/models/groups.php
8489
administrator/components/com_users/models/levels.php
9492
administrator/components/com_users/models/users.php
103158
administrator/components/com_weblinks/models/weblinks.php
114153
components/com_content/models/categories.php
124186
components/com_content/models/frontpage.php
133104
components/com_weblinks/models/category.php
Clone Instance
1
Line Count
4
Source Line
164
Source File
administrator/components/com_categories/models/categories.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.title'))
                              .                                                                   ' '
                              .                                                                       $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query));
                return $query;


Clone Instance
2
Line Count
4
Source Line
165
Source File
administrator/components/com_content/models/articles.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.title'))
                              .                                                                   ' '
                              .                                                                       $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query));
                return $query;


Clone Instance
3
Line Count
4
Source Line
89
Source File
administrator/components/com_content/models/featured.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.title'))
                              .                                                                   ' '
                              .                                                                       $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString()));
                return $query;


Clone Instance
4
Line Count
4
Source Line
187
Source File
administrator/components/com_menus/models/items.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.lft'))
                              .                                                                 ' '
                              .                                                                     $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
5
Line Count
4
Source Line
59
Source File
administrator/components/com_menus/models/menus.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.id'))
                              .                                                                ' '
                              .                                                                    $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
6
Line Count
4
Source Line
66
Source File
administrator/components/com_redirect/models/links.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.name'))
                              .                                                                  ' '
                              .                                                                      $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
7
Line Count
4
Source Line
86
Source File
administrator/components/com_users/models/groups.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.lft'))
                              .                                                                 ' '
                              .                                                                     $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
8
Line Count
4
Source Line
89
Source File
administrator/components/com_users/models/levels.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.lft'))
                              .                                                                 ' '
                              .                                                                     $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
9
Line Count
4
Source Line
92
Source File
administrator/components/com_users/models/users.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.name'))
                              .                                                                  ' '
                              .                                                                      $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
                return $query;


Clone Instance
10
Line Count
3
Source Line
158
Source File
administrator/components/com_weblinks/models/weblinks.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.ordering'))
                              .                                                                      ' '
                              .                                                                          $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                return $query;


Clone Instance
11
Line Count
4
Source Line
153
Source File
components/com_content/models/categories.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.title'))
                              .                                                                   ' '
                              .                                                                       $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query));
                return $query;


Clone Instance
12
Line Count
4
Source Line
186
Source File
components/com_content/models/frontpage.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.title'))
                              .                                                                   ' '
                              .                                                                       $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                //echo nl2br(str_replace('#__','jos_',$query));
                return $query;


Clone Instance
13
Line Count
3
Source Line
104
Source File
components/com_weblinks/models/category.php

                // Add the list ordering clause.
                $query->order($this->_db->getEscaped($this->getState('list.ordering', 'a.ordering'))
                              .                                                                      ' '
                              .                                                                          $this->_db->getEscaped($this->getState('list.direction', 'ASC')));
                return $query;


Clone AbstractionParameter Count: 1Parameter Bindings

// Add the list ordering clause.
$query->order($this->_db->getEscaped($this->getState('list.ordering', [[#variable4c6d20e0]]))
              . ' '
              . $this->_db->getEscaped($this->getState('list.direction','ASC')));
//echo nl2br(str_replace('#__','jos_',$query));
//echo nl2br(str_replace('#__','jos_',$query->toString())).'<hr/>';
//echo nl2br(str_replace('#__','jos_',$query->toString()));
return $query;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4c6d20e0]]
'a.ordering' 
12[[#4c6d20e0]]
'a.title' 
13[[#4c6d20e0]]
'a.name' 
14[[#4c6d20e0]]
'a.lft' 
15[[#4c6d20e0]]
'a.id' 
16[[#4c6d20e0]]
'a.title' 
17[[#4c6d20e0]]
'a.lft' 
18[[#4c6d20e0]]
'a.title' 
19[[#4c6d20e0]]
'a.title' 
110[[#4c6d20e0]]
'a.ordering' 
111[[#4c6d20e0]]
'a.name' 
112[[#4c6d20e0]]
'a.lft' 
113[[#4c6d20e0]]
'a.title'