CloneSet416


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.992class_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18380
administrator/includes/toolbar.php
28399
administrator/includes/toolbar.php
Clone Instance
1
Line Count
8
Source Line
380
Source File
administrator/includes/toolbar.php

        /**
        * Writes a common 'delete' button for a list of records
        * @param string  Postscript for the 'are you sure' message
        * @param string An override for the task
        * @param string An override for the alt text
        * @since 1.0
        */
        function deleteList($msg=  '', $task=  'remove', $alt=  'Delete') {

                $bar=  & JToolBar::getInstance('toolbar');
                // Add a delete button
                if ($msg) {
                        $bar->appendButton('Confirm', $msg, 'delete', $alt, $task, TRUE, FALSE);
                      }
                else   {
                        $bar->appendButton('Standard', 'delete', $alt, $task, TRUE, FALSE);
                      }
              }


Clone Instance
2
Line Count
8
Source Line
399
Source File
administrator/includes/toolbar.php

        /**
        * Writes a common 'delete' button for a list of records.
        * Extended version of deleteList() calling hideMainMenu() before submitbutton().
        * @param string  Postscript for the 'are you sure' message
        * @param string An override for the task
        * @param string An override for the alt text
        * @since 1.0
        */
        function deleteListX($msg=  '', $task=  'remove', $alt=  'Delete') {

                $bar=  & JToolBar::getInstance('toolbar');
                // Add a delete button (hide)
                if ($msg) {
                        $bar->appendButton('Confirm', $msg, 'delete', $alt, $task, TRUE, TRUE);
                      }
                else   {
                        $bar->appendButton('Standard', 'delete', $alt, $task, TRUE, TRUE);
                      }
              }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
        * Writes a common 'delete' button for a list of records.
        * Extended version of deleteList() calling hideMainMenu() before submitbutton().
        * @param string  Postscript for the 'are you sure' message
        * @param string An override for the task
        * @param string An override for the alt text
        * @since 1.0
        */
/**
        * Writes a common 'delete' button for a list of records
        * @param string  Postscript for the 'are you sure' message
        * @param string An override for the task
        * @param string An override for the alt text
        * @since 1.0
        */
function [[#variable4dae39a0]]($msg='',$task='remove',$alt='Delete') {
  $bar= &JToolBar::getInstance('toolbar');
  // Add a delete button (hide)
  // Add a delete button
  if ($msg) {
    $bar->appendButton('Confirm',$msg,'delete',$alt,$task,TRUE, [[#variable4dae39c0]]);
  }
  else {
    $bar->appendButton('Standard','delete',$alt,$task,TRUE, [[#variable4dae39c0]]);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4dae39a0]]
deleteListX 
12[[#4dae39a0]]
deleteList 
21[[#4dae39c0]]
TRUE 
22[[#4dae39c0]]
FALSE