| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 15 | 5 | 1 | 0.961 | class_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 15 | 52 | administrator/components/com_installer/views/languages/view.php |
| 2 | 19 | 61 | administrator/components/com_installer/views/libraries/view.php |
| 3 | 15 | 54 | administrator/components/com_installer/views/modules/view.php |
| 4 | 19 | 61 | administrator/components/com_installer/views/packages/view.php |
| 5 | 15 | 50 | administrator/components/com_installer/views/plugins/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);
}
|
| ||||
/**
* 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);
}
|
| ||||
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);
}
|
| ||||
/**
* 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);
}
|
| ||||
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);
}
|
| |||
/**
* 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 Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5231f5a0]] | $item->published |
| 1 | 2 | [[#5231f5a0]] | $item->libraryname == 'joomla' |
| 1 | 3 | [[#5231f5a0]] | $item->iscore |
| 1 | 4 | [[#5231f5a0]] | $item->packagename == 'joomla' |
| 1 | 5 | [[#5231f5a0]] | $item->iscore |