Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 0 | 1.000 | if_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 99 | components/com_content/models/article.php |
2 | 6 | 154 | components/com_content/models/frontpage.php |
| ||||
// Filter by access level. if ($access= $this->getState('filter.access')) { $user= &JFactory::getUser(); $groups= implode(',', $user->authorisedLevels()); $query->where('a.access IN (' . $groups . ')'); $query->where('(c.access IS NULL OR c.access IN (' . $groups . '))'); } |
| ||||
// Filter by access level. if ($access= $this->getState('filter.access')) { $user= &JFactory::getUser(); $groups= implode(',', $user->authorisedLevels()); $query->where('a.access IN (' . $groups . ')'); $query->where('(c.access IS NULL OR c.access IN (' . $groups . '))'); } |
| |||
// Filter by access level. if ($access=$this->getState('filter.access')) { $user= &JFactory::getUser(); $groups=implode(',',$user->authorisedLevels()); $query->where('a.access IN (' . $groups . ')'); $query->where('(c.access IS NULL OR c.access IN (' . $groups . '))'); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |