Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
19 | 3 | 1 | 0.999 | class_member |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 19 | 44 | administrator/components/com_installer/views/components/view.php |
2 | 19 | 51 | administrator/components/com_installer/views/discover/view.php |
3 | 18 | 70 | administrator/components/com_installer/views/manage/view.php |
| ||||
function loadItem($index=0) { $item= &$this->items[$index]; $item->index = $index; $item->img = $item->enabled ? 'tick.png' : 'publish_x.png'; $item->task = $item->enabled ? 'disable' : 'enable'; $item->alt = $item->enabled ? JText::_('Enabled') : JText::_('Disabled'); $item->action = $item->enabled ? JText::_('disable') : JText::_('enable'); if ($item->iscore) { $item->cbd = 'disabled'; $item->style = 'style="color:#999999;"'; } else { $item->cbd = NULL; $item->style = NULL; } $item->author_info = @$item->authorEmail . '<br />' . @$item->authorUrl; $this->assignRef('item', $item); } |
| ||||
function loadItem($index=0) { $item= & $this->items[$index]; $item->index = $index; $item->img = $item->enabled ? 'tick.png' : 'publish_x.png'; $item->task = $item->enabled ? 'disable' : 'enable'; $item->alt = $item->enabled ? JText::_( 'Enabled') : JText::_( 'Disabled'); $item->action = $item->enabled ? JText::_( 'disable') : JText::_( 'enable'); if ($item->protected) { $item->cbd = 'disabled'; $item->style = 'style="color:#999999;"'; } else { $item->cbd = NULL; $item->style = NULL; } $item->author_info = @$item->authorEmail . '<br />' . @$item->authorUrl; $this->assignRef('item', $item); } |
| ||||
function loadItem($index=0) { $item= & $this->items[$index]; $item->index = $index; $item->img = $item->enabled ? 'tick.png' : 'publish_x.png'; $item->task = $item->enabled ? 'disable' : 'enable'; $item->alt = $item->enabled ? JText::_( 'Enabled') : JText::_( 'Disabled'); $item->action = $item->enabled ? JText::_( 'disable') : JText::_( 'enable'); if ($item->protected) { $item->cbd = 'disabled'; $item->style = 'style="color:#999999;"'; } else { $item->cbd = NULL; $item->style = NULL; } $item->author_info = @$item->authorEmail . '<br />' . @$item->authorUrl; $this->assignRef('item', $item); } |
| |||
function loadItem($index=0) { $item= &$this->items[$index]; $item->index =$index; $item->img =$item->enabled ? 'tick.png' : 'publish_x.png'; $item->task =$item->enabled ? 'disable' : 'enable'; $item->alt =$item->enabled ? JText::_('Enabled') : JText::_('Disabled'); $item->action =$item->enabled ? JText::_('disable') : JText::_('enable'); if ($item-> [[#variable52372c80]]) { $item->cbd ='disabled'; $item->style ='style="color:#999999;"'; } else { $item->cbd =NULL; $item->style =NULL; } $item->author_info =@$item->authorEmail . '<br />' . @$item->authorUrl; $this->assignRef('item',$item); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#52372c80]] | iscore |
1 | 2 | [[#52372c80]] | protected |
1 | 3 | [[#52372c80]] | protected |