CloneSet92


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19310.999class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11944
administrator/components/com_installer/views/components/view.php
21951
administrator/components/com_installer/views/discover/view.php
31870
administrator/components/com_installer/views/manage/view.php
Clone Instance
1
Line Count
19
Source Line
44
Source File
administrator/components/com_installer/views/components/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);
              }


Clone Instance
2
Line Count
19
Source Line
51
Source File
administrator/components/com_installer/views/discover/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->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);
              }


Clone Instance
3
Line Count
18
Source Line
70
Source File
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->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);
              }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52372c80]]
iscore 
12[[#52372c80]]
protected 
13[[#52372c80]]
protected