CloneSet118


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15510.961class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11552
administrator/components/com_installer/views/languages/view.php
21961
administrator/components/com_installer/views/libraries/view.php
31554
administrator/components/com_installer/views/modules/view.php
41961
administrator/components/com_installer/views/packages/view.php
51550
administrator/components/com_installer/views/plugins/view.php
Clone Instance
1
Line Count
15
Source Line
52
Source File
administrator/components/com_installer/views/languages/view.php

        function loadItem($index=0) {

                $item=  &$this->items[$index];
                $item->index =    $index;

                if ($item->published) {
                        $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
61
Source File
administrator/components/com_installer/views/libraries/view.php

    /**
     * Loads data for an individual item and sets some variables
     * @access public
     */
        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->libraryname == 'joomla') {
                        $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
15
Source Line
54
Source File
administrator/components/com_installer/views/modules/view.php

        function loadItem($index=0) {

                $item=  &$this->items[$index];
                $item->index =    $index;

                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
4
Line Count
19
Source Line
61
Source File
administrator/components/com_installer/views/packages/view.php

    /**
     * Loads data for an individual item and sets some variables
     * @access public
     */
        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->packagename == 'joomla') {
                        $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
5
Line Count
15
Source Line
50
Source File
administrator/components/com_installer/views/plugins/view.php

        function loadItem($index=0) {

                $item=  &$this->items[$index];
                $item->index =    $index;

                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 AbstractionParameter Count: 1Parameter Bindings

/**
     * Loads data for an individual item and sets some variables
     * @access public
     */
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 ( [[#variable5231f5a0]]) {
    $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[[#5231f5a0]]
$item->published 
12[[#5231f5a0]]
$item->libraryname == 'joomla' 
13[[#5231f5a0]]
$item->iscore 
14[[#5231f5a0]]
$item->packagename == 'joomla' 
15[[#5231f5a0]]
$item->iscore